diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-05-09 00:26:43 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-05-09 00:26:43 +0000 |
commit | d2f2d3b5c845807249680c275031f94047f9e762 (patch) | |
tree | 1237bb3dc8d677e2e405d11f905e143714638be8 /staging/libtirpc/libtirpc-0.2.1-fortify.patch | |
parent | 886d3d0994eb8e9f3e797155619619e0ef1353f8 (diff) |
Mon May 9 00:26:43 UTC 2011
Diffstat (limited to 'staging/libtirpc/libtirpc-0.2.1-fortify.patch')
-rw-r--r-- | staging/libtirpc/libtirpc-0.2.1-fortify.patch | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/staging/libtirpc/libtirpc-0.2.1-fortify.patch b/staging/libtirpc/libtirpc-0.2.1-fortify.patch deleted file mode 100644 index 7375bf83e..000000000 --- a/staging/libtirpc/libtirpc-0.2.1-fortify.patch +++ /dev/null @@ -1,18 +0,0 @@ -Index: libtirpc-0.2.1/src/getrpcport.c -=================================================================== ---- libtirpc-0.2.1.orig/src/getrpcport.c -+++ libtirpc-0.2.1/src/getrpcport.c -@@ -54,11 +54,11 @@ getrpcport(host, prognum, versnum, proto - - if ((hp = gethostbyname(host)) == NULL) - return (0); -+ if (hp->h_length != sizeof(addr.sin_addr.s_addr)) -+ return (0); - memset(&addr, 0, sizeof(addr)); - addr.sin_family = AF_INET; - addr.sin_port = 0; -- if (hp->h_length > sizeof(addr)) -- hp->h_length = sizeof(addr); - memcpy(&addr.sin_addr.s_addr, hp->h_addr, (size_t)hp->h_length); - /* Inconsistent interfaces need casts! :-( */ - return (pmap_getport(&addr, (u_long)prognum, (u_long)versnum, |