projects
/
platform
/
upstream
/
avahi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28ff2f3
)
* Make sure we return -1 if we fall of the end of consume_labels()
author
Trent Lloyd
<lathiat@bur.st>
Fri, 29 Dec 2006 12:50:03 +0000
(12:50 +0000)
committer
Trent Lloyd
<lathiat@bur.st>
Fri, 29 Dec 2006 12:50:03 +0000
(12:50 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1353
941a03a8
-eaeb-0310-b9a0-
b1bbd8fe43fe
avahi-core/dns.c
patch
|
blob
|
history
diff --git
a/avahi-core/dns.c
b/avahi-core/dns.c
index
b31aa20
..
6817ebd
100644
(file)
--- a/
avahi-core/dns.c
+++ b/
avahi-core/dns.c
@@
-400,6
+400,8
@@
static int consume_labels(AvahiDnsPacket *p, unsigned idx, char *ret_name, size_
} else
return -1;
}
+
+ return -1;
}
int avahi_dns_packet_consume_name(AvahiDnsPacket *p, char *ret_name, size_t l) {