URL: <https://savannah.gnu.org/bugs/?67226>
Summary: Potential NPD
Group: The GNU Bourne-Again SHell
Submitter: None
Submitted: Fri 20 Jun 2025 11:48:05 AM UTC
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Private
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Fri 20 Jun 2025 11:48:05 AM UTC By: Anonymous
Greetings,
Potential null pointer dereference in
https://cgit.git.savannah.gnu.org/cgit/bash.git/tree/lib/readline/callback.c?h=devel&id=0f0cea342e32f1f82aa9cc9026038bfc3bb03e92#n198
Lines 198-207 appear to be copied from 261-270. Both dereference
`_rl_callback_func`, but the latter is preceded by a null check at line 253,
while there isn't any check before the former.
Unfortunately, I'm not sure how to test that, nor how to handle the error
properly.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?67226>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
