Bug#500482: Segmentation fault in grub-probe

Julien Cristau jcristau at debian.org
Tue Oct 28 00:09:24 UTC 2008


On Mon, Oct 27, 2008 at 23:43:40 +0200, Guillem Jover wrote:

> +
> +	      p = grub_strchr (p, '}') + 1;
> +	      if (p == NULL)
> +		goto pvs_fail;
> +

This test seems buggy.  The +1 needs to be after the NULL check.

Cheers,
Julien





More information about the Pkg-grub-devel mailing list