summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-04-19 22:01:28 +0000
committerMike Frysinger <vapier@gentoo.org>2005-04-19 22:01:28 +0000
commit607aa25b29aba836eea0e8e86fc371d82bbac2ee (patch)
tree0601460b5c448a0517cf4bb7c58f296f38a21923
parentRemove retired developer from metadata.xml. (diff)
downloadhistorical-607aa25b29aba836eea0e8e86fc371d82bbac2ee.tar.gz
historical-607aa25b29aba836eea0e8e86fc371d82bbac2ee.tar.bz2
historical-607aa25b29aba836eea0e8e86fc371d82bbac2ee.zip
fix size arguement to snprintf
Package-Manager: portage-2.0.51.19
-rw-r--r--net-misc/whois/Manifest2
-rw-r--r--net-misc/whois/files/whois-4.7.2-gentoo-security.patch2
2 files changed, 2 insertions, 2 deletions
diff --git a/net-misc/whois/Manifest b/net-misc/whois/Manifest
index 0882e0365a99..c8eb792a3e9d 100644
--- a/net-misc/whois/Manifest
+++ b/net-misc/whois/Manifest
@@ -7,4 +7,4 @@ MD5 57973d31d6aaf8ccd822e6f11837978b files/digest-whois-4.7.2 62
MD5 1327d76b68095d1c08e847fe3bbb4367 files/whois-4.7.2-config-file.patch 198
MD5 fbeb270cb2d2f8fbd313166116740f8b files/whois-4.6.13-gentoo-security.patch 4065
MD5 405e144ea2a2c14c0b066e42461ee8f4 files/digest-whois-4.6.13-r1 63
-MD5 e938d3b491e4fe166e15126d54794dbc files/whois-4.7.2-gentoo-security.patch 5611
+MD5 df632f0b3d2992153d9671f55cd835cf files/whois-4.7.2-gentoo-security.patch 5609
diff --git a/net-misc/whois/files/whois-4.7.2-gentoo-security.patch b/net-misc/whois/files/whois-4.7.2-gentoo-security.patch
index 2d6c7b78d4a3..39553a6ec3af 100644
--- a/net-misc/whois/files/whois-4.7.2-gentoo-security.patch
+++ b/net-misc/whois/files/whois-4.7.2-gentoo-security.patch
@@ -5,7 +5,7 @@
if (strchr(ripeflags, ch)) {
for (p = fstring; *p; p++);
- sprintf(p--, "-%c ", ch);
-+ snprintf(p--, sizeof(fstring)-1, "-%c ", ch);
++ snprintf(p--, sizeof(fstring), "-%c ", ch);
continue;
}
if (strchr(ripeflagsp, ch)) {