]> granicus.if.org Git - php/commit
Fix potentially uninitialized use in ldap
authorNikita Popov <nikita.ppv@gmail.com>
Thu, 29 Aug 2019 16:01:34 +0000 (18:01 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Thu, 29 Aug 2019 17:07:45 +0000 (19:07 +0200)
commit48ff226caeaef37863736297bbe807ac5ec4784b
treea557920119e2a4ca59dac6dd96813554b8e21606
parent6cc53981e5b69a8c9cba267a6dcbcd9569c928b6
Fix potentially uninitialized use in ldap

If ctrl->ldctl_value.bv_len is zero context is uninitialized. Only
free it if the call took place and succeeded.
ext/ldap/ldap.c