mstflint/extend-buffer.patch
Honggang Li bbc2798aca Rebase mstflint to latest upstream release v4.11.0-2
Resolves: bz1671710

Signed-off-by: Honggang Li <honli@redhat.com>
2019-02-01 20:14:40 +08:00

14 lines
492 B
Diff

diff --git a/ext_libs/iniParser/iniparser.c b/ext_libs/iniParser/iniparser.c
index 8bc0a18..f981775 100644
--- a/ext_libs/iniParser/iniparser.c
+++ b/ext_libs/iniParser/iniparser.c
@@ -572,7 +572,7 @@ dictionary * iniparser_load(const char * ininame)
char line [ASCIILINESZ+1] ;
char section [ASCIILINESZ+1] ;
char key [ASCIILINESZ+1] ;
- char tmp [ASCIILINESZ+1] ;
+ char tmp [(ASCIILINESZ+1)*2] ;
char val [ASCIILINESZ+1] ;
int last=0 ;