summaryrefslogtreecommitdiff
path: root/src/bin/embryo
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-08-13 16:19:17 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-08-13 16:19:17 +0900
commitb0e98866351b55975debd750d207f89628615bbd (patch)
tree93dae3e5e329dce1071cdbb0a4a9270842b7b0cf /src/bin/embryo
parent8ea2356bcd68c223a21909863e32aaffd93d2766 (diff)
embryo_cc - fix coverity buffer overrun
fixes CID 1039317
Diffstat (limited to 'src/bin/embryo')
-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 0b72ee312a..ed6e4173be 100644
--- a/src/bin/embryo/embryo_cc_sc2.c
+++ b/src/bin/embryo/embryo_cc_sc2.c
@@ -1164,7 +1164,7 @@ command(void)
1164 case tpEMIT: 1164 case tpEMIT:
1165 { 1165 {
1166 /* write opcode to output file */ 1166 /* write opcode to output file */
1167 char name[40]; 1167 char name[41];
1168 int i; 1168 int i;
1169 1169
1170 while (*lptr <= ' ' && *lptr != '\0') 1170 while (*lptr <= ' ' && *lptr != '\0')