Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F160835046
D7497.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
352 B
Referenced Files
None
Subscribers
None
D7497.diff
View Options
Index: head/sys/boot/efi/boot1/boot1.c
===================================================================
--- head/sys/boot/efi/boot1/boot1.c
+++ head/sys/boot/efi/boot1/boot1.c
@@ -78,7 +78,8 @@
void
Free(void *buf, const char *file __unused, int line __unused)
{
- (void)bs->FreePool(buf);
+ if (buf != NULL)
+ (void)bs->FreePool(buf);
}
/*
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jun 29, 10:41 AM (11 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34457332
Default Alt Text
D7497.diff (352 B)
Attached To
Mode
D7497: boot1.efi: Free should check for NULL
Attached
Detach File
Event Timeline
Log In to Comment