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 | 7d20b5d73385d69de9d8e3fd53d82cb3173cca05 (patch) | |
tree | 647fdbebce49f382db5a050355535b88a5104270 /net-misc/whois | |
parent | Remove retired developer from metadata.xml. (diff) | |
download | gentoo-2-7d20b5d73385d69de9d8e3fd53d82cb3173cca05.tar.gz gentoo-2-7d20b5d73385d69de9d8e3fd53d82cb3173cca05.tar.bz2 gentoo-2-7d20b5d73385d69de9d8e3fd53d82cb3173cca05.zip |
fix size arguement to snprintf
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-misc/whois')
-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)) { |