diff options
Diffstat (limited to 'system/d52/20-fix-format-security-error.patch')
-rw-r--r-- | system/d52/20-fix-format-security-error.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/system/d52/20-fix-format-security-error.patch b/system/d52/20-fix-format-security-error.patch new file mode 100644 index 0000000000..c7ed896ade --- /dev/null +++ b/system/d52/20-fix-format-security-error.patch @@ -0,0 +1,12 @@ +diff -Nur -x '*.orig' -x '*~' d52-3.4.1/d52pass2.c d52-3.4.1.new/d52pass2.c +--- d52-3.4.1/d52pass2.c 2007-09-02 15:31:16.000000000 +0000 ++++ d52-3.4.1.new/d52pass2.c 2011-11-08 02:22:21.000000000 +0000 +@@ -932,7 +932,7 @@ + } + else if (dir < 0x80) + { +- kcnt += fprintf(fp, rbname[dir].dent); ++ kcnt += fprintf(fp, "%s",rbname[dir].dent); + dirregs[dir] |= 1; + } + else |