openbsd-ports/databases/gnats/patches/patch-gnats_pr-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
453 B
Plaintext

$OpenBSD: patch-gnats_pr-addr_c,v 1.1 2003/08/25 23:35:06 brad Exp $
--- gnats/pr-addr.c.orig Wed Nov 25 07:15:11 1998
+++ gnats/pr-addr.c Wed Jul 2 13:23:13 2003
@@ -48,10 +48,9 @@ main (argc, argv)
int argc;
char **argv;
{
- Responsible *r;
int option;
int full = 0, strict = 0;
- char *address, *name, *fname = (char *)NULL;
+ char *address, *name;
extern char *basename ();
program_name = (char *) basename (argv[0]);