Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F150362393
D56151.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
325 B
Referenced Files
None
Subscribers
None
D56151.diff
View Options
diff --git a/libexec/rtld-elf/rtld.c b/libexec/rtld-elf/rtld.c
--- a/libexec/rtld-elf/rtld.c
+++ b/libexec/rtld-elf/rtld.c
@@ -6492,7 +6492,11 @@
if (c < '0' || c > '9')
return (-1);
+ if (n > INT_MAX / RADIX)
+ return (-1);
n *= RADIX;
+ if (n > INT_MAX - (c - '0'))
+ return (-1);
n += c - '0';
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Apr 1, 1:33 PM (12 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30635542
Default Alt Text
D56151.diff (325 B)
Attached To
Mode
D56151: rtld: check for overflow in parse_integer()
Attached
Detach File
Event Timeline
Log In to Comment