[pacman-dev] [PATCH] pacman: fix segfault when Usage is specified without a value

Allan McRae allan at archlinux.org
Thu Mar 7 01:02:34 UTC 2019


On 7/3/19 10:53 am, Allan McRae wrote:
> On 7/3/19 8:52 am, morganamilo wrote:
>> And extract all the common code to a macro.
>>
>> Signed-off-by: morganamilo <morganamilo at gmail.com>
>> ---
> 
> How can I replicate?
> 
> I set "Usage =" in my pacman.conf and no segfault from either pacman or
> pacman-conf
> 

Got it...   Just use "Usage" with no equals sign.

A


More information about the pacman-dev mailing list