Re: Possible NULL pointer dereference in hol_entry_help

2016-04-03 Thread Paul Eggert
Andrei Borzenkov wrote: Found by Coverity scan for GRUB. No further comment, so I installed the attached patch, which is like my earlier patch except it adjusts the argp tests to match the new behavior. >From 89d3d7a3786f0eebc22155e833b17c6d09e4d6c8 Mon Sep 17 00:00:00 2001 From: Paul Eggert

Possible NULL pointer dereference in hol_entry_help

2016-01-10 Thread Andrei Borzenkov
Found by Coverity scan for GRUB. hol_entry_help dereferences state parameter without checking for NULL: if (first_long_opt || uparams.dup_args) arg (real, "=%s", "[=%s]", state->root_argp->argp_domain, stream); It is called in several places where "st