Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26632
Modified Files: Tag: branch-v0-40-extended s_main.c Log Message: checked in Russell's security fix #1848295
Index: s_main.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/s_main.c,v retrieving revision 1.28.6.2 retrieving revision 1.28.6.3 diff -C2 -d -r1.28.6.2 -r1.28.6.3 *** s_main.c 27 Nov 2007 00:03:09 -0000 1.28.6.2 --- s_main.c 26 Dec 2007 21:45:02 -0000 1.28.6.3 *************** *** 288,292 **** char filename[MAXPDSTRING];
! sprintf(filename, "%s.dll", sys_externalschedlibname); sys_bashfilename(filename, filename); ntdll = LoadLibrary(filename); --- 288,292 ---- char filename[MAXPDSTRING];
! snprintf(filename, sizeof(filename), "%s.dll", sys_externalschedlibname); sys_bashfilename(filename, filename); ntdll = LoadLibrary(filename);