3 Commits

Author SHA1 Message Date
Leon Hwang
655392bc77 Fix parsing 4-bytes attribute
What if the data length of attribute is 4? The attribute will be ignored,
because `i+4 < len(data)`.

Signed-off-by: Leon Hwang <hffilwlqm@gmail.com>
2025-02-09 08:26:17 -08:00
Julian Kornberger
6ffafa9fc1 Improve attribute parsing
This improves dealing with invalid input data.
2020-12-30 21:45:07 -08:00
Moshe Litvin
77e4d032a0 Allow building on non-linux machine 2020-12-28 10:31:32 -08:00