summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2016-08-08 15:24:09 +0200
committerJeroen Roovers <jer@gentoo.org>2016-08-08 15:24:09 +0200
commit0e5fb79bc5ca6016e5f09bd320d077a8cd995607 (patch)
treeb701e4bf64a5bed49919cd3c422fb5d92878f1b5 /net-libs/libnet/files
parentwww-client/opera-developer: Old. (diff)
downloadgentoo-0e5fb79bc5ca6016e5f09bd320d077a8cd995607.tar.gz
gentoo-0e5fb79bc5ca6016e5f09bd320d077a8cd995607.tar.bz2
gentoo-0e5fb79bc5ca6016e5f09bd320d077a8cd995607.zip
net-libs/libnet: Use upstream patch for sample/sebek.
Package-Manager: portage-2.3.0
Diffstat (limited to 'net-libs/libnet/files')
-rw-r--r--net-libs/libnet/files/libnet-1.2-sizeof.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/net-libs/libnet/files/libnet-1.2-sizeof.patch b/net-libs/libnet/files/libnet-1.2-sizeof.patch
index e06dbb5bd704..603224267fdf 100644
--- a/net-libs/libnet/files/libnet-1.2-sizeof.patch
+++ b/net-libs/libnet/files/libnet-1.2-sizeof.patch
@@ -5,7 +5,7 @@
if (payload_flag)
{
- memset(cmd, 0, sizeof(cmd));
-+ memset(cmd, 0, sizeof(*cmd));
++ memset(cmd, 0, length);
memcpy(cmd, payload, (payload_s < 12 ? payload_s : 12));
length = payload_s;
}