From 4b490e8ec264e444f000123df8bb38001e0f016b Mon Sep 17 00:00:00 2001 From: Daniel_Cortez Date: Tue, 1 Jan 2019 19:28:59 +0700 Subject: [PATCH] Fix potential buffer overrun in #emit and __emit --- source/compiler/sc1.c | 6 +++--- source/compiler/sc2.c | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/source/compiler/sc1.c b/source/compiler/sc1.c index 1672db0..592c1f6 100644 --- a/source/compiler/sc1.c +++ b/source/compiler/sc1.c @@ -6948,13 +6948,13 @@ SC_FUNC void emit_parse_line(void) * and copy the instruction name */ lptr-=len; - for (i=0; i