2
# Description: fix netgroups access restrictions bypass from wrong argument order
3
# Patch: http://patch-tracking.debian.net/patch/series/view/nfs-utils/1:1.1.2-6lenny1/08-CVE-2008-4552.patch
4
# Vendor: https://bugzilla.redhat.com/show_bug.cgi?id=458676
6
Index: nfs-utils-1.1.2/support/misc/tcpwrapper.c
7
===================================================================
8
--- nfs-utils-1.1.2.orig/support/misc/tcpwrapper.c 2008-12-02 13:35:24.000000000 -0500
9
+++ nfs-utils-1.1.2/support/misc/tcpwrapper.c 2008-12-02 13:36:14.000000000 -0500
13
/* Check the official name first. */
14
- if (hosts_ctl(daemon, "", hp->h_name, ""))
15
+ if (hosts_ctl(daemon, hp->h_name, "", ""))
19
for (sp = hp->h_aliases; *sp ; sp++) {
20
- if (hosts_ctl(daemon, "", *sp, ""))
21
+ if (hosts_ctl(daemon, *sp, "", ""))