15 Commits (efc47fbe950a63a6b55bb19db32479185716bf83)

Author SHA1 Message Date
leitner a1f1986247 include <foo> -> include "foo" 9 years ago
leitner 4ecc33dcea catch not enough bytes in input buffer case 11 years ago
leitner 63b08692d0 check value to large error for asn1derlength 11 years ago
leitner 708c358a74 for asn1derlength: save a few bytes
for asn1dertag: catch too-large-value overflow
11 years ago
leitner 24d1ccb1b7 reject non-minimally encoded ASN.1 DER data
split scan_asn1derlength into scan_asn1derlength and scan_asn1derlengthvalue
11 years ago
leitner 9b6671efee add buffer_tosa check to marshal.c
failed attempt to improve scan_ulongn, results in essentially same code
but the C code looks slighly better so I'm keeping it
11 years ago
leitner 08ba483bfb catch other potential overflow 11 years ago
leitner 4a04c40595 get rid of more -Wconversion warnings 11 years ago
leitner f7fee036c1 SECURITY: check for integer overflow in stralloc_ready 11 years ago
leitner 539ef564ab add unit tests for uint* 11 years ago
leitner e1081e4b13 remove -Wconversion warnings 11 years ago
leitner 18afec7d68 scan_*longlong now properly abort if the number would not fit 11 years ago
leitner 01ffc04006 do proper early abort in the other scan_* routines if the numeric value
is too large
11 years ago
leitner 35942878c2 $ make WERROR=-Werror now builds with -Werror
add some single char escaping routines to fmt.h
pull in html5 entities from w3c and use those to do a proper scan_html decoding
fix an off-by-one in fmt_to_array
add a ton of unit tests for the fmt routines
11 years ago
leitner dd4f86fbfa add some unit tests for the formatting routines 11 years ago