#32 NULL pointer derefence on --mode=execute invocation w/o both of program & script arguments vs. merely program
Closed 3 years ago by lalbornoz. Opened 3 years ago by lalbornoz.

slibtool when in --mode=execute expects to be supplied with both a program as well as script. In the absence of the latter argument, a NULL pointer dereference in src/logic:slbt_exec_execute.c:slbt_exec_execute() is triggered.

A tentative patch that addresses this is available at https://www.lucioillanes.de/assets/slibtool-0.5.32%2Bfix_mode_execute_nullptr_deref.patch.

This fixes the following slibtool-related Gentoo package bugs (WIP):
https://bugs.gentoo.org/show_bug.cgi?id=775185
https://bugs.gentoo.org/show_bug.cgi?id=778224.


Metadata Update from @lalbornoz:
- Issue status updated to: Closed (was: Open)

3 years ago

Login to comment on this ticket.

Metadata