File 020-afbackup-3.5.1pl2.bufoverflow.diff of Package afbackup
This patch fixes <http://sourceforge.net/tracker/index.php?func=detail&aid=1728238&group_id=29282&atid=395842>.
--- afbackup-3.5.1pl2.orig/server.c 2007-01-27 15:03:11.000000000 +0100
+++ afbackup-3.5.1pl2.new/server.c 2007-05-30 14:09:05.000000000 +0200
@@ -3930,7 +3930,7 @@
main(int argc, char ** argv)
{
Int32 i, j, cmdres;
- UChar *cptr, buf[100];
+ UChar *cptr, buf[256];
UChar *localestr = NULL;
Uns32 cmd, u;
UChar **cpptr;