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;" to "char salt;" and output appears to be correct.
This problem does not occur with 6.4-RELEASE-p11, but does occur with 8.1-RELEASE-p2.
See above description.
How-To-Repeat: install port security/apg.
run "apg -d -y -n1".
Fix synopsis and assign.
roam 2010-12-23 10:54:46 UTC
FreeBSD ports repository
security/apg Makefile distinfo
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)
email@example.com mailing list
To unsubscribe, send any mail to "firstname.lastname@example.org"
This should be fixed in the just-committed apg-2.3.0b_2.
Thanks for bringing it up!