Commit Graph

7 Commits

Author SHA1 Message Date
Miek Gieben b1fe149a97 Check for l.err in $INCLUDE
This can throw l.err as well, and a l.length of zero, check for both.
2015-08-08 13:41:46 +01:00
Miek Gieben 3b3e522e22 A some length check to $GENERATE modifiers
Short cut these modifier lengths to 255 max. Which seems a reasonable default.
2015-08-08 13:31:38 +01:00
Miek Gieben d7ca9f827c And check err here as well. 2015-08-07 16:56:49 +01:00
Miek Gieben 3861fcbbb2 Fix HIP parsing 2015-08-07 16:26:37 +01:00
Miek Gieben d5324dc6e3 Fuzz the text parser
Check if the values send on the channel are errors, if so return
one. Otherwise continue parsing.
2015-08-07 15:01:11 +02:00
Miek Gieben 69d043f8ab Better fuzzing test and NSAP fix
rr can be nil when parsed, if it, for instance only contains a
comment.

NSAP parsing need some parens to make the if-then logic work.
2015-08-07 12:17:16 +02:00
Miek Gieben 1e6d260018 Fuzz NewRR
Add checks for token length == 0.
2015-08-07 10:39:21 +01:00