https://bugs.openldap.org/show_bug.cgi?id=9440
Issue ID: 9440 Summary: null ptr dereference in error message for invalid generic control value Product: OpenLDAP Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: --- Component: client tools Assignee: bugs@openldap.org Reporter: grapvar@gmail.com Target Milestone: ---
Created attachment 787 --> https://bugs.openldap.org/attachment.cgi?id=787&action=edit fix
$ ldapmodify -e 1.2.3.4=xxx Unable to parse value of general control (null)
Trailing `(null)' is not what expected. Fix attached. After fix:
Unable to parse value `xxx' of general control `1.2.3.4'
https://bugs.openldap.org/show_bug.cgi?id=9440
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |CONFIRMED Target Milestone|--- |2.5.1
https://bugs.openldap.org/show_bug.cgi?id=9440
--- Comment #1 from Quanah Gibson-Mount quanah@openldap.org --- MR: https://git.openldap.org/openldap/openldap/-/merge_requests/212
https://bugs.openldap.org/show_bug.cgi?id=9440
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #2 from Quanah Gibson-Mount quanah@openldap.org --- trunk • fe7b161b by Quanah Gibson-Mount at 2021-01-28T18:09:21+00:00 ITS#9440 - Don't set control to NULL before it's used for output.
https://bugs.openldap.org/show_bug.cgi?id=9440
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED