Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:Update
glibc-utils.9447
realpath-ssize-max-overflow.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File realpath-ssize-max-overflow.patch of Package glibc-utils.9447
2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com> [BZ #22786] * stdlib/canonicalize.c (__realpath): Fix overflow in path length computation. Index: glibc-2.22/stdlib/canonicalize.c =================================================================== --- glibc-2.22.orig/stdlib/canonicalize.c +++ glibc-2.22/stdlib/canonicalize.c @@ -181,7 +181,7 @@ __realpath (const char *name, char *reso extra_buf = __alloca (path_max); len = strlen (end); - if ((long int) (n + len) >= path_max) + if (path_max - n <= len) { __set_errno (ENAMETOOLONG); goto error;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor