Remove unused patch.
This commit is contained in:
parent
52abde27e6
commit
ce021ed310
@ -1,22 +0,0 @@
|
|||||||
Index: iniparser/src/iniparser.c
|
|
||||||
===================================================================
|
|
||||||
--- iniparser.orig/src/iniparser.c
|
|
||||||
+++ iniparser/src/iniparser.c
|
|
||||||
@@ -633,7 +633,7 @@ dictionary * iniparser_load(const char *
|
|
||||||
char line [ASCIILINESZ+1] ;
|
|
||||||
char section [ASCIILINESZ+1] ;
|
|
||||||
char key [ASCIILINESZ+1] ;
|
|
||||||
- char tmp [ASCIILINESZ+1] ;
|
|
||||||
+ char tmp [(ASCIILINESZ * 2) + 1] ;
|
|
||||||
char val [ASCIILINESZ+1] ;
|
|
||||||
|
|
||||||
int last=0 ;
|
|
||||||
@@ -699,7 +699,7 @@ dictionary * iniparser_load(const char *
|
|
||||||
break ;
|
|
||||||
|
|
||||||
case LINE_VALUE:
|
|
||||||
- sprintf(tmp, "%s:%s", section, key);
|
|
||||||
+ snprintf(tmp, sizeof(tmp), "%s:%s", section, key);
|
|
||||||
errs = dictionary_set(dict, tmp, val) ;
|
|
||||||
break ;
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user