slackbuilds_ponce/system/d52/20-fix-format-security-error.patch
B. Watson 666f54dfd6 system/d52: Added (disassembler for 8051/8052, 8041/8048, and Z80).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2014-01-29 23:21:05 -06:00

12 lines
375 B
Diff

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