Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142620862
D4692.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
481 B
Referenced Files
None
Subscribers
None
D4692.diff
View Options
Index: head/sys/kern/imgact_elf.c
===================================================================
--- head/sys/kern/imgact_elf.c
+++ head/sys/kern/imgact_elf.c
@@ -799,6 +799,11 @@
error = ENOEXEC;
goto ret;
}
+ if (interp != NULL) {
+ uprintf("Multiple PT_INTERP headers\n");
+ error = ENOEXEC;
+ goto ret;
+ }
interp_name_len = phdr[i].p_filesz;
if (phdr[i].p_offset > PAGE_SIZE ||
interp_name_len > PAGE_SIZE - phdr[i].p_offset) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 22, 2:03 PM (12 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27850697
Default Alt Text
D4692.diff (481 B)
Attached To
Mode
D4692: Only allow one PT_INTERP ELF program header
Attached
Detach File
Event Timeline
Log In to Comment