[OpenBIOS] [PATCH] arch/ppc/qemu: do not override boot-device if already set
BALATON Zoltan
balaton at eik.bme.hu
Sun May 18 23:00:25 CEST 2014
On Sun, 18 May 2014, BALATON Zoltan wrote:
> value "-prom-env boot-device=" but this does not lead to a crash because the
> NULL value is only used in strcmp where it's not equal and in free where it
Now I looked at the strcmp implementation just to double check and it
seems to dereference the pointer without checking for NULL. It does not
crash and seems to work but better to not call it like that so I'm
resending with your suggestion. Sorry about the noise.
Regards,
BALATON Zoltan
More information about the OpenBIOS
mailing list