* John A. Sullivan III [10. Dec 2008]:
> I'm glad it wasn't my imagination! I may not be able to get to this
> today. We do have a quasi-production application where we are willing
> to use the RC version but would feel funny using the SVN. Would you
> happen to have a patch we could apply against the published tarball?
Certainly! Please find attached a patch you should apply against
openvas-libraries (libopenvas/proctitle.c to be specific). Keep in mind
that you will need to rebuild at least openvas-server as well, so it is
probably a good idea to apply this patch to a clean tarball and do a
fresh install.
Regards,
Michael
--
Michael Wiegand | OpenPGP key: D7D049EC | http://www.intevation.de/
Intevation GmbH, Neuer Graben 17, 49074 Osnabrück | AG Osnabrück, HR B 18998
Geschäftsführer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
Index: libopenvas/proctitle.c
===================================================================
--- libopenvas/proctitle.c (revision 1957)
+++ libopenvas/proctitle.c (working copy)
@@ -100,7 +100,7 @@
i = LastArgv - Argv[0] - 2;
buf[i] = '\0';
}
- (void) strncpy(Argv[0], buf, SPT_BUFSIZE - 1);
+ (void) strcpy(Argv[0], buf); /* RATS: ignore */
{ char *p;
p = &Argv[0][i];
while (p < LastArgv)
_______________________________________________
Openvas-discuss mailing list
[email protected]
http://lists.wald.intevation.org/mailman/listinfo/openvas-discuss