projects
/
platform
/
framework
/
native
/
appfw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
538b8f1
)
Add conditional statement for removing platform log
author
Hyunbin Lee
<hyunbin.lee@samsung.com>
Mon, 2 Sep 2013 05:18:17 +0000
(14:18 +0900)
committer
Hyunbin Lee
<hyunbin.lee@samsung.com>
Mon, 2 Sep 2013 05:20:29 +0000
(14:20 +0900)
Change-Id: I7a25be42ff50a8c6c30db914767d20ffbe908764
Signed-off-by: Hyunbin Lee <hyunbin.lee@samsung.com>
src/io/FIo_RegistryCore.cpp
patch
|
blob
|
history
diff --git
a/src/io/FIo_RegistryCore.cpp
b/src/io/FIo_RegistryCore.cpp
index
1f0b50d
..
6cee81a
100644
(file)
--- a/
src/io/FIo_RegistryCore.cpp
+++ b/
src/io/FIo_RegistryCore.cpp
@@
-307,7
+307,10
@@
_RegistryCore::Parse(void)
"[E_PARSING_FAILED] Entry name could not be parsed.");
}
- line.SubString(firstTokenPos + 1, entryVal); // extract entry value
+ if (line.GetLength() > firstTokenPos + 1)
+ {
+ line.SubString(firstTokenPos + 1, entryVal); // extract entry value
+ }
// check if entry value contains invalid chars
pEntryValue.reset(_StringConverter::CopyToCharArrayN(entryVal));