View | Details | Raw Unified | Return to bug 255316
Collapse All | Expand All

(-)/usr/src/contrib/unbound/libunbound/libunbound.c (+6 lines)
Lines 1153-1158 Link Here
1153
			/* skip [0-9a-fA-F.:]*, i.e. IP4 and IP6 address */
1153
			/* skip [0-9a-fA-F.:]*, i.e. IP4 and IP6 address */
1154
			while(isxdigit((unsigned char)*parse) || *parse=='.' || *parse==':')
1154
			while(isxdigit((unsigned char)*parse) || *parse=='.' || *parse==':')
1155
				parse++;
1155
				parse++;
1156
                        /* Check for % if found accept rest */
1157
                        if (*parse == '%') {
1158
                                parse++;
1159
                                while (isalnum((unsigned char)*parse))
1160
                                        parse++;
1161
                                }
1156
			/* terminate after the address, remove newline */
1162
			/* terminate after the address, remove newline */
1157
			*parse = 0;
1163
			*parse = 0;

Return to bug 255316