diff --git a/iniparser-3.1-fix_long_line_crash.patch b/iniparser-3.1-fix_long_line_crash.patch deleted file mode 100644 index e0e4c8f..0000000 --- a/iniparser-3.1-fix_long_line_crash.patch +++ /dev/null @@ -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 ; -