From: Roy Marples Date: Fri, 29 Nov 2013 18:23:39 +0000 (+0000) Subject: Fix comment about termination correctness. X-Git-Tag: v6.2.0~31 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1b77c52015bfbd1792794b1750e7aa1315cba78b;p=thirdparty%2Fdhcpcd.git Fix comment about termination correctness. --- diff --git a/dhcp-common.c b/dhcp-common.c index 4363ce3e..71b367bb 100644 --- a/dhcp-common.c +++ b/dhcp-common.c @@ -168,8 +168,8 @@ decode_rfc3397(char *out, ssize_t len, int pl, const uint8_t *p) while (q - p < pl) { r = NULL; hops = 0; - /* We check we are inside our length again incase - * the data is NOT terminated correctly. */ + /* Check we are inside our length again in-case + * the name isn't fully qualified (ie, not terminated) */ while (q - p < pl && (l = *q++)) { ltype = l & 0xc0; if (ltype == 0x80 || ltype == 0x40)