]> git.ipfire.org Git - thirdparty/FORT-validator.git/commit
Fix bugs (base64 sanitize function, TAL URIs validations) and memleak.
authorpcarana <pc.moreno2099@gmail.com>
Wed, 29 Jan 2020 20:34:43 +0000 (14:34 -0600)
committerpcarana <pc.moreno2099@gmail.com>
Wed, 29 Jan 2020 20:34:43 +0000 (14:34 -0600)
commitdd2f96441e6d4b65cd7d3e144ff6f1ab6cab84ce
tree8230e2e901a7cfa78db33ef98fd6b28e5a9a558b
parent8792f2964308752e7f73136c885b39796963e090
Fix bugs (base64 sanitize function, TAL URIs validations) and memleak.

+The base64 sanitize function was setting a nul char at a wrong location.
+Validate the TAL URIs syntax when they are loaded, not until they are utilized.
+Possible memleak at 'x509stack_push' when the function error'd.
src/cert_stack.c
src/object/tal.c
test/tal/lacnic.tal
test/tal_test.c