Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F105822245
D29606.id86908.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
510 B
Referenced Files
None
Subscribers
None
D29606.id86908.diff
View Options
Index: usr.sbin/uefisign/pe.c
===================================================================
--- usr.sbin/uefisign/pe.c
+++ usr.sbin/uefisign/pe.c
@@ -244,7 +244,8 @@
x->x_nsections = number_of_sections;
for (i = 0; i < number_of_sections; i++) {
- if (psh->psh_pointer_to_raw_data < x->x_headers_len)
+ if (psh->psh_size_of_raw_data > 0 &&
+ psh->psh_pointer_to_raw_data < x->x_headers_len)
errx(1, "section points inside the headers");
range_check(x, psh->psh_pointer_to_raw_data,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 22, 5:43 AM (21 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15550998
Default Alt Text
D29606.id86908.diff (510 B)
Attached To
Mode
D29606: uefisign: handle empty sections
Attached
Detach File
Event Timeline
Log In to Comment