leitner
|
ec3d2bfe6c
|
change a few // comments back to /* */ for older compilers
|
2 years ago |
leitner
|
d93ddc33b8
|
fix buffer overread for len=0 in scan_longn (Martin Castillo)
|
3 years ago |
leitner
|
de672180ac
|
don't disturb glibc with __deprecated__
|
3 years ago |
leitner
|
7ce1c93d0f
|
add "make check" target and make it work :)
|
4 years ago |
leitner
|
fbb1a69c9c
|
fix unit tests
|
4 years ago |
leitner
|
bbaf63c7fd
|
remove compiler warnings in ent
try to fix io_waituntil2 on freebsd
|
5 years ago |
leitner
|
8a8109f27e
|
support gcc 10's access attribute when compiling with dietlibc
|
5 years ago |
leitner
|
b9eb81c58f
|
move unit tests into each file (compile with -DUNITTEST)
|
8 years ago |
leitner
|
760598ec2f
|
#include <foo.h> -> #include <libowfat/foo.h>
|
8 years ago |
leitner
|
dba47741bf
|
remove new compiler warnings from gcc 7
|
8 years ago |
leitner
|
23b1412d47
|
add new line
|
8 years ago |
leitner
|
7d308b957d
|
add man page for scan_utf8_sem
|
8 years ago |
leitner
|
14f26729e9
|
add scan_utf8_sem
add utf8 test suite
|
8 years ago |
leitner
|
3872474e17
|
osx
|
9 years ago |
leitner
|
d26b8082d8
|
shut up new gcc 6 warnings
|
9 years ago |
leitner
|
05e4dcc94a
|
stupid sign extension
|
9 years ago |
leitner
|
624412ce03
|
fix two issues found by clang's static analyser
|
9 years ago |
leitner
|
32a312b8f1
|
add marshaling code for protocol buffers
|
9 years ago |
leitner
|
6859c4b6ca
|
add netstring formatter
fix scan_netstring to actually correctly return the length of the transported string
add documentation
|
9 years ago |
leitner
|
cdecd16ab3
|
add documentation
|
10 years ago |
leitner
|
e5865bcc52
|
fix timezone handling
|
10 years ago |
leitner
|
ac6979e4af
|
add scan_iso8601+test
|
10 years ago |
leitner
|
798c06a785
|
add more comments
|
11 years ago |
leitner
|
6d18d4ecc3
|
better comment
|
11 years ago |
leitner
|
4ecc33dcea
|
catch not enough bytes in input buffer case
|
11 years ago |
leitner
|
8106f8c5a6
|
remove superfluous &0x7f
|
11 years ago |
leitner
|
cf1406735c
|
much shorter way to do the same thing
|
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
|
74d676fc62
|
fix typo in man page
make use of __uint128_t in scan_ulongn and provide long long based
implementation for 32-bit platforms
|
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
|
9af06ac843
|
remove can't happen code and instead force a compile time error
|
11 years ago |
leitner
|
baec005507
|
improved code path for typical platforms where there is a wider integer type
|
11 years ago |
leitner
|
08ba483bfb
|
catch other potential overflow
|
11 years ago |
leitner
|
4a04c40595
|
get rid of more -Wconversion warnings
|
11 years ago |
leitner
|
d14d2536f0
|
get rid of -Wconversion warnings
|
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
|
1d2add208f
|
add json encoding routines to textcode
|
11 years ago |
leitner
|
45702476e7
|
add scan_netstring
|
11 years ago |
leitner
|
69eb8c01e3
|
add scan_ulongn, scan_8longn, scan_xlongn and scan_longn
|
11 years ago |
leitner
|
f2ee8239d1
|
add more examples
|
11 years ago |
leitner
|
5ef52a7e44
|
catch more bad encoding
|
12 years ago |
leitner
|
4f1e1d300c
|
make headers work in C++
add two more variable length integer encoding functions
|
13 years ago |
leitner
|
d17c2d1012
|
add functions to encode and decode integers in variable length binary
formats
|
13 years ago |
leitner
|
c5eca073b3
|
work around broken sqlite download httpd
|
16 years ago |
leitner
|
9788418026
|
slight optimization
|
17 years ago |
leitner
|
3004b518ef
|
switch to size_t and ssize_t
|
18 years ago |
leitner
|
d361d81c64
|
make socket_(tc|ud)p[46] actually return non-blocking sockets as
documented (Richard Lyons)
|
19 years ago |