Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F160721540
D57808.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
713 B
Referenced Files
None
Subscribers
None
D57808.diff
View Options
diff --git a/sys/kern/link_elf.c b/sys/kern/link_elf.c
--- a/sys/kern/link_elf.c
+++ b/sys/kern/link_elf.c
@@ -233,8 +233,7 @@
set->es_base = base;
TAILQ_FOREACH(iter, list, es_link) {
- KASSERT((set->es_start < iter->es_start && set->es_stop < iter->es_stop) ||
- (set->es_start > iter->es_start && set->es_stop > iter->es_stop),
+ KASSERT(set->es_stop <= iter->es_start || set->es_start >= iter->es_stop,
("linker sets intersection: to insert: 0x%jx-0x%jx; inserted: 0x%jx-0x%jx",
(uintmax_t)set->es_start, (uintmax_t)set->es_stop,
(uintmax_t)iter->es_start, (uintmax_t)iter->es_stop));
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jun 28, 4:23 AM (1 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34310026
Default Alt Text
D57808.diff (713 B)
Attached To
Mode
D57808: link_elf: elf_set_add assertion accepts partial overlaps
Attached
Detach File
Event Timeline
Log In to Comment