Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F111061370
D42200.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
500 B
Referenced Files
None
Subscribers
None
D42200.diff
View Options
diff --git a/lib/libprocstat/libprocstat.c b/lib/libprocstat/libprocstat.c
--- a/lib/libprocstat/libprocstat.c
+++ b/lib/libprocstat/libprocstat.c
@@ -2434,8 +2434,8 @@
warn("sysctl: kern.proc.auxv: %d: %d", pid, errno);
goto out;
}
- count = len / sizeof(Elf_Auxinfo);
- auxv = malloc(count * sizeof(Elf_Auxinfo));
+ count = len / sizeof(Elf32_Auxinfo);
+ auxv = malloc(count * sizeof(Elf_Auxinfo));
if (auxv == NULL) {
warn("malloc(%zu)", count * sizeof(Elf_Auxinfo));
goto out;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Feb 27, 9:21 PM (16 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16874378
Default Alt Text
D42200.diff (500 B)
Attached To
Mode
D42200: libprocstat: copy all the 32-bit auxv entries
Attached
Detach File
Event Timeline
Log In to Comment