1186. [bug] isc_hex_tobuffer(,,length = 0) failed to unget the
EOL token when reading to end of line.
+1186. [bug] isc_hex_tobuffer(,,length = 0) failed to unget the
+ EOL token when reading to end of line.
+
1182. [bug] The server could throw an assertion failure when
constructing a negative response packet.
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: hex.c,v 1.8 2001/03/22 00:07:05 bwelling Exp $ */
+/* $Id: hex.c,v 1.8.2.1 2002/01/22 06:08:47 marka Exp $ */
#include <config.h>
for (i = 0 ;i < tr->length; i++)
RETERR(hex_decode_char(&ctx, tr->base[i]));
}
+ if (ctx.length < 0)
+ isc_lex_ungettoken(lexer, &token);
RETERR(hex_decode_finish(&ctx));
return (ISC_R_SUCCESS);
}