On Tue, Mar 23, 2021 at 03:03:37AM +0000, likejun (A) wrote: > From: Kejun Li <likej...@huawei.com<mailto:likej...@huawei.com>> > > 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 -- seabios@seabios.org To unsubscribe send an email to seabios-le...@seabios.org