UpstandingHackers / hammer

Parser combinators for binary formats, in C. Yes, in C. What? Don't look at me like that.
GNU General Public License v2.0
430 stars 40 forks source link

Typofix in dns_common.c #199

Open pictyeye opened 3 years ago

pictyeye commented 3 years ago

The index used in the inner loop was wrong (i instead of j). This could lead to a segmentation fault with a specifically crafted packet.

This seems to fix the segfault described in #198.