]> git.ipfire.org Git - thirdparty/curl.git/commit
ldap: avoid null ptr deref on failure
authorDaniel Stenberg <daniel@haxx.se>
Thu, 9 Oct 2025 21:03:18 +0000 (23:03 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 10 Oct 2025 06:24:45 +0000 (08:24 +0200)
commit69efbcaa03b99b927806af43752bcd5d667a676d
tree21cff2dd55bd3babcdc397b0ce51983c2b9acca5
parent0d560d00faaa6fa3ff3918d82c8fbd551452d17e
ldap: avoid null ptr deref on failure

ldap_get_dn() can return NULL on error

Reported-by: Joshua Rogers
Closes #18988
lib/ldap.c