freebsd-ports/sysutils/portmanager/files/patch-aa
Pav Lucistnik 70198d1581 - Fix potential endless loop when a port changes his name depending on option
- Fix plist

PR:		ports/72074
Submitted by:	Michael C. Shultz <ringworm@inbox.lv> (maintainer)
2004-10-11 23:27:23 +00:00

11 lines
284 B
Text

--- libMG/src/libMG.h Thu Aug 12 10:34:49 2004
+++ libMG/src/libMG.h Fri Aug 27 02:48:55 2004
@@ -307,7 +307,7 @@
{ \
errorCode = 1; \
} \
- strcpy( var, string );
+ strncpy( var, string, strlen(string)+1 );
#include <MGrFileSize.h>
#include <MGrFileTime.h>