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 /net-misc/whois/files
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
Diffstat (limited to 'net-misc/whois/files')
-rw-r--r--net-misc/whois/files/whois-4.7.2-gentoo-security.patch2
1 files changed, 1 insertions, 1 deletions
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)) {