Commit Graph

25 Commits (0c12716977e40c4e1ed0814c2a901c04bdceca71)

Author SHA1 Message Date
leitner 58283caf58 catch "can't happen" int overflow in stralloc_catm_interal
add comment in stralloc_ready
leitner 760598ec2f #include <foo.h> -> #include <libowfat/foo.h>
leitner d26b8082d8 shut up new gcc 6 warnings
leitner a1f1986247 include <foo> -> include "foo"
leitner 79f534ffdf SECURITY: fix botched integer overflow handling logic in stralloc_ready (Giorgio)
leitner ed93e203a1 more constness for stralloc and buffer
leitner 595a01fb1b fix copy/paste error
leitner 4a04c40595 get rid of more -Wconversion warnings
leitner f7fee036c1 SECURITY: check for integer overflow in stralloc_ready
leitner 9793c47447 fix warning
leitner 34c8462dea unsigned int -> size_t
leitner 3004b518ef switch to size_t and ssize_t
leitner 0663f2396b cut and paste bug (Max Bernöcker)
leitner c874604f12 gcc 4 cleanups (mostly unsigned char* vs char*)
leitner 5eb1cdf888 cleanups in stralloc and buffer:
int -> long for sizes
    char -> unsigned char for strings
leitner 38ef27207a add buffer_putm and buffer_putmflush
leitner 82b0bb6f39 extend API To read line/token to stralloc to allow clearing the
stralloc first.
  add stralloc_zero to clear a stralloc
leitner 2cd4641da9 add stralloc_diff and stralloc_diffs
leitner 8c8b5262c5 remove externs
leitner 053aadde58 add buffer_putsa, buffer_get_token_sa, buffer_getline_sa, stralloc_chomp
and stralloc_chop
leitner 2354c458a8 better return value documentation
leitner f921b8cbb0 monster update: add tai, taia, iopause, case, and ipv6 enhanced dns
leitner ffc91c62a3 Imanuel Scholz corrected some comments
leitner 6e50a95445 update make clean,
two man page corrections from rolphin@free.fr
leitner 3083708670 Initial revision