apg -y results in segfault. This appears to be identical to Debian bug #337116 which describes character buffer "salt" as being one byte too small. I modified apg.c from "char salt[10];" to "char salt[11];" and output appears to be correct. This problem does not occur with 6.4-RELEASE-p11, but does occur with 8.1-RELEASE-p2. Fix: See above description. How-To-Repeat: install port security/apg. run "apg -d -y -n1".
Responsible Changed From-To: freebsd-ports-bugs->roam Fix synopsis and assign.
roam 2010-12-23 10:54:46 UTC FreeBSD ports repository Modified files: security/apg Makefile distinfo security/apg/files patch-aa Added files: security/apg/files patch-apg.c Log: Fix a segfault when using the -y option. While I'm here: - remove the MD5 checksum from the distfile - note upstream's BSD license - OPTIONSify the support for CrackLib - add a descriptive patch header to the existing patch-aa - remove the packetstorm master site, it only seems to carry a much older version of apg - bump PORTREVISION for the segfault fix PR: 153382 (the segfault fix) Submitted by: David Boyd <David.Boyd@insightbb.com> Revision Changes Path 1.10 +8 -3 ports/security/apg/Makefile 1.8 +0 -1 ports/security/apg/distinfo 1.6 +9 -2 ports/security/apg/files/patch-aa 1.1 +17 -0 ports/security/apg/files/patch-apg.c (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed This should be fixed in the just-committed apg-2.3.0b_2. Thanks for bringing it up!