On Tue, Mar 23, 2021 at 03:03:37AM +0000, likejun (A) wrote:
> From: Kejun Li <[email protected]<mailto:[email protected]>>
> 
> Date: Mon, 22 Mar 2021 14:03:10 +0800
> 
> Subject: [PATCH] malloc: Add check to avoid dereference NULL pointer.
> 
> 
> 
> info = alloc_find_lowest() may return NULL, should check before
> 
> dereference it to avoid potential coredump.

I don't see any case where info could be NULL - there has to be space
in the ZoneFSeg or SeaBIOS wont function at all.

-Kevin
_______________________________________________
SeaBIOS mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to