[pacman-dev] inconsistent behaviour in handle.c
dpmcgee at gmail.com
Sun Mar 27 15:29:23 EDT 2011
On Sun, Mar 27, 2011 at 11:33 AM, Rémy Oudompheng
<remyoudompheng at gmail.com> wrote:
> The functions defined in handle.c seem to have an inconsistent
> behaviour. Many of them check that handle is not NULL before acting,
> and set pm_errno to PM_ERR_HANDLE_NULL if so.
> But others do not, and segfault if used before alpm_initialize() is
> called. Is there a rationale behind that or should it be patched?
Should probably be patched.
More information about the pacman-dev