openbsd-ports/databases/gnats/patches/patch-gnats_npr-addr_c
brad 9e8ecfb2f4 Fix some security issues with gnats.
Some additional fixes from millert@
sprintf -> snprintf
str{cat,cpy} -> strl{cat,cpy}

http://marc.theaimsgroup.com/?l=bugtraq&m=105638591907836&w=2

ok naddy@
2003-08-25 23:33:56 +00:00

16 lines
435 B
Plaintext

$OpenBSD: patch-gnats_npr-addr_c,v 1.1 2003/08/25 23:35:06 brad Exp $
--- gnats/npr-addr.c.orig Tue Sep 21 17:18:39 1999
+++ gnats/npr-addr.c Wed Jul 2 13:23:13 2003
@@ -65,10 +65,9 @@ main (argc, argv)
int argc;
char **argv;
{
- Responsible *r;
int optc;
int full = 0, strict = 0;
- char *address, *name, *fname = (char *)NULL;
+ char *name;
char *user = "anonymous", *passwd = "guest";
outfp = stdout;