Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F159776172
D30821.id91089.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
476 B
Referenced Files
None
Subscribers
None
D30821.id91089.diff
View Options
Index: sys/kern/imgact_elf.c
===================================================================
--- sys/kern/imgact_elf.c
+++ sys/kern/imgact_elf.c
@@ -2456,7 +2456,8 @@
p = (struct proc *)arg;
if (sb == NULL) {
size = 0;
- sb = sbuf_new(NULL, NULL, 128, SBUF_FIXEDLEN);
+ sb = sbuf_new(NULL, NULL, AT_COUNT * sizeof(Elf_Auxinfo),
+ SBUF_FIXEDLEN);
sbuf_set_drain(sb, sbuf_count_drain, &size);
sbuf_bcat(sb, &structsize, sizeof(structsize));
PHOLD(p);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jun 19, 2:59 AM (20 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34065145
Default Alt Text
D30821.id91089.diff (476 B)
Attached To
Mode
D30821: imgact_elf: compute auxv buffer size instead of using magic value
Attached
Detach File
Event Timeline
Log In to Comment