projects
/
platform
/
core
/
security
/
drm-service-core-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52a9da9
)
Add guard check for fixing SVACE(WGID=386585)
20/200120/1
accepted/tizen/unified/20190220.071620
submit/tizen/20190219.102433
author
Dongsun Lee
<ds73.lee@samsung.com>
Tue, 19 Feb 2019 09:24:56 +0000
(18:24 +0900)
committer
Dongsun Lee
<ds73.lee@samsung.com>
Tue, 19 Feb 2019 09:24:56 +0000
(18:24 +0900)
Change-Id: I6c21aa0b27fb3e583adc6e5995e044bcdbef91fd
Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
tadcore/TADCCore/TADC_Core.cpp
patch
|
blob
|
history
diff --git
a/tadcore/TADCCore/TADC_Core.cpp
b/tadcore/TADCCore/TADC_Core.cpp
index
670cfea
..
ffee8cf
100644
(file)
--- a/
tadcore/TADCCore/TADC_Core.cpp
+++ b/
tadcore/TADCCore/TADC_Core.cpp
@@
-265,6
+265,8
@@
int TADC_MakeRequestRO(T_ROACQ_INFO *t_ROAcqInfo, unsigned char *outBuffer,
i += (k * 2);
+ IF_TRUE_RETURN((i >= outBufferSize), TADC_PARAMETER_ERROR);
+
outBuffer[i] = 0;
StrSize = i - reqdataset_size;