projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b20e8fe
)
Fix endless loop when there are multiple DHCP options
author
Alan T. DeKok
<aland@freeradius.org>
Sat, 29 May 2010 09:26:56 +0000
(11:26 +0200)
committer
Alan T. DeKok
<aland@freeradius.org>
Sat, 29 May 2010 09:36:22 +0000
(11:36 +0200)
src/modules/frs_dhcp/dhcp.c
patch
|
blob
|
history
diff --git
a/src/modules/frs_dhcp/dhcp.c
b/src/modules/frs_dhcp/dhcp.c
index
18db44d
..
681625f
100644
(file)
--- a/
src/modules/frs_dhcp/dhcp.c
+++ b/
src/modules/frs_dhcp/dhcp.c
@@
-714,7
+714,7
@@
int fr_dhcp_decode(RADIUS_PACKET *packet)
}
*tail = vp;
- while (*tail) tail = &
vp
->next;
+ while (*tail) tail = &
(*tail)
->next;
p += alen;
} /* loop over array entries */
} /* loop over the entire packet */