diff options
author | Patrick Kursawe <phosphan@gentoo.org> | 2003-07-17 08:39:09 +0000 |
---|---|---|
committer | Patrick Kursawe <phosphan@gentoo.org> | 2003-07-17 08:39:09 +0000 |
commit | 0fa36069d807c8b87d7cbd1dc5f25e2bfa55d109 (patch) | |
tree | 5748ade25251bac66702efdc54b108ac90a9516f /net-analyzer/nessus-core/files | |
parent | Fixing bug 23106 (diff) | |
download | gentoo-2-0fa36069d807c8b87d7cbd1dc5f25e2bfa55d109.tar.gz gentoo-2-0fa36069d807c8b87d7cbd1dc5f25e2bfa55d109.tar.bz2 gentoo-2-0fa36069d807c8b87d7cbd1dc5f25e2bfa55d109.zip |
Fixing bug 23106
Diffstat (limited to 'net-analyzer/nessus-core/files')
-rw-r--r-- | net-analyzer/nessus-core/files/digest-nessus-core-2.0.6a-r1 | 1 | ||||
-rw-r--r-- | net-analyzer/nessus-core/files/nessus-core-2.0.6a.patch | 26 |
2 files changed, 27 insertions, 0 deletions
diff --git a/net-analyzer/nessus-core/files/digest-nessus-core-2.0.6a-r1 b/net-analyzer/nessus-core/files/digest-nessus-core-2.0.6a-r1 new file mode 100644 index 000000000000..22e441a7907c --- /dev/null +++ b/net-analyzer/nessus-core/files/digest-nessus-core-2.0.6a-r1 @@ -0,0 +1 @@ +MD5 2dd997d65d1785526fe9d87393ce0417 nessus-core-2.0.6a.tar.gz 648798 diff --git a/net-analyzer/nessus-core/files/nessus-core-2.0.6a.patch b/net-analyzer/nessus-core/files/nessus-core-2.0.6a.patch new file mode 100644 index 000000000000..00c6223632cb --- /dev/null +++ b/net-analyzer/nessus-core/files/nessus-core-2.0.6a.patch @@ -0,0 +1,26 @@ +--- nessus-core/nessus/auth.c 2003-01-27 12:34:22.000000000 +0100 ++++ ../../../nessus-core-2.0.7/work/nessus-core/nessus/auth.c 2003-06-03 15:14:54.000000000 +0200 +@@ -88,19 +88,19 @@ + void network_printf(char * data, ...) + { + va_list param; +- int r, s; +- char * buffer = emalloc(8192); ++ int r, s = 16384; ++ char * buffer = emalloc(s); + int len, n = 0; + signal(SIGPIPE, sighand_pipe); + va_start(param, data); + +- s = 8192; ++ + for(;;) + { + r = vsnprintf(buffer, s, data, param); + if(r >= 0 && r < s)break; + s = r > s ? r + 1 : s * 2; +- buffer = realloc(buffer, s); ++ buffer = erealloc(buffer, s); + } + len = strlen(buffer); + while(n < len) |