Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
glibc-utils.8003
make-request-loop.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File make-request-loop.patch of Package glibc-utils.8003
2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com> [BZ #12926] * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid infinite loop when __recvmsg returns 0. Index: glibc-2.19/sysdeps/unix/sysv/linux/check_pf.c =================================================================== --- glibc-2.19.orig/sysdeps/unix/sysv/linux/check_pf.c +++ glibc-2.19/sysdeps/unix/sysv/linux/check_pf.c @@ -169,7 +169,7 @@ make_request (int fd, pid_t pid) }; ssize_t read_len = TEMP_FAILURE_RETRY (__recvmsg (fd, &msg, 0)); - if (read_len < 0) + if (read_len <= 0) goto out_fail; if (msg.msg_flags & MSG_TRUNC)
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