Commit Graph

7 Commits

Author SHA1 Message Date
antma
5de0d75942 add functions tstrndup (auto check return value of strndup calls) 2014-01-13 16:26:48 +04:00
Vysheng
914490cf20 tools: added more debug 2014-01-11 20:00:31 +04:00
vysheng
77f56cfd57 Merge branch 'master' of https://github.com/antma/tg
Conflicts:
	tools.c
2014-01-10 21:16:26 +04:00
antma
286ffe8c72 fix missed inflateEnd call and enhance handling inflate return value 2014-01-10 20:54:47 +04:00
vysheng
f06d3c1625 free->tfree. Memory checks, if compiled with -DDEBUG 2014-01-10 18:37:56 +04:00
vysheng
a97603031c realloc->trealloc 2014-01-10 17:08:12 +04:00
antma
3795a77618 check return values of strdup and malloc
add talloc0 function (malloc and zero fill)
check return values of arithmetic openssl BN_* functions
check return values of BN_bin2bn function
remove useless BN_init calls right after BN_new
fix 2 small memory leaks
2014-01-10 15:32:57 +04:00