diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-04-19 22:01:28 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-04-19 22:01:28 +0000 |
commit | 607aa25b29aba836eea0e8e86fc371d82bbac2ee (patch) | |
tree | 0601460b5c448a0517cf4bb7c58f296f38a21923 /net-misc/whois/files | |
parent | Remove retired developer from metadata.xml. (diff) | |
download | historical-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.patch | 2 |
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)) { |