projects
/
oweals
/
odhcpd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d050fc
)
Fix another memory corruption
author
Steven Barth
<steven@midlink.org>
Sat, 18 Jan 2014 10:09:26 +0000
(11:09 +0100)
committer
Steven Barth
<steven@midlink.org>
Sat, 18 Jan 2014 10:09:26 +0000
(11:09 +0100)
src/dhcpv6-ia.c
patch
|
blob
|
history
diff --git
a/src/dhcpv6-ia.c
b/src/dhcpv6-ia.c
index 88840a43e430f37ea376c3967381646dadf76305..4d68258c76c9786df65ba1b6a53b29885346b200 100644
(file)
--- a/
src/dhcpv6-ia.c
+++ b/
src/dhcpv6-ia.c
@@
-101,6
+101,7
@@
int setup_dhcpv6_ia_interface(struct interface *iface, bool enable)
list_for_each_entry(c, &iface->ia_assignments, head) {
if (c->length != 128 || c->assigned > a->assigned) {
list_add_tail(&a->head, &c->head);
+ break;
} else if (c->assigned == a->assigned) {
// Already an assignment with that number
break;