summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJEONGHYUN YUN <jh0506.yun@samsung.com>2016-09-20 15:31:16 +0830
committerJi-Youn Park <jy0703.park@samsung.com>2016-09-20 15:31:16 +0830
commit078c4a9f11b2d13805b52b76cccc64485516103b (patch)
treea09565733ca8879418515b2e8e8d540c43fca492 /src
parent07ffb2e5c580220c2ca89c043055ac078654cc9f (diff)
embryo : Prevent buffer overflow in embryo_cc_sc2
Reviewers: jypark Reviewed By: jypark Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4304
Diffstat (limited to 'src')
-rw-r--r--src/bin/embryo/embryo_cc_sc2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/embryo/embryo_cc_sc2.c b/src/bin/embryo/embryo_cc_sc2.c
index 6956a80058..fddc102cf0 100644
--- a/src/bin/embryo/embryo_cc_sc2.c
+++ b/src/bin/embryo/embryo_cc_sc2.c
@@ -1005,7 +1005,7 @@ command(void)
1005 int i; 1005 int i;
1006 1006
1007 for (i = 0; 1007 for (i = 0;
1008 (i < (int)(sizeof(name))) && 1008 (i < (int)(sizeof(name)) - 1) &&
1009 (alphanum(*lptr)); 1009 (alphanum(*lptr));
1010 i++, lptr++) 1010 i++, lptr++)
1011 name[i] = *lptr; 1011 name[i] = *lptr;