projects
/
platform
/
core
/
telephony
/
phonenumber-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2490911
)
fix security svace issue
37/149437/9
accepted/tizen/unified/20170920.081207
submit/tizen/20170915.044752
submit/tizen/20170918.022808
submit/tizen/20170918.093320
author
Jongkyu Koo
<jk.koo@samsung.com>
Tue, 12 Sep 2017 08:30:02 +0000
(17:30 +0900)
committer
Jongkyu Koo
<jk.koo@samsung.com>
Thu, 14 Sep 2017 08:13:17 +0000
(08:13 +0000)
Change-Id: I400729fbf8c9ca8a382ad3c1a7306a1f8a0c13ab
Signed-off-by: Jongkyu Koo <jk.koo@samsung.com>
build-util/DB-schema-gen.c
patch
|
blob
|
history
diff --git
a/build-util/DB-schema-gen.c
b/build-util/DB-schema-gen.c
index d6094851798444eb9ec3efb555801dc4fd135793..babd1346d9a699a2123d552ce617306dd13984d0 100644
(file)
--- a/
build-util/DB-schema-gen.c
+++ b/
build-util/DB-schema-gen.c
@@
-24,6
+24,9
@@
int main(int argc, char **argv)
FILE *fp;
int c;
+ if (argc < 2)
+ exit(EXIT_FAILURE);
+
fp = fopen(argv[1], "r");
if (NULL == fp)
exit(EXIT_FAILURE);