mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
Fix typo in stack guard setup code for old kernels
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2011-05-31 Ulrich Drepper <drepper@gmail.com>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
|
||||||
|
typo.
|
||||||
|
|
||||||
2011-05-31 Andreas Schwab <schwab@redhat.com>
|
2011-05-31 Andreas Schwab <schwab@redhat.com>
|
||||||
|
|
||||||
* nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
|
* nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
|
||||||
|
@ -81,7 +81,7 @@ _dl_setup_stack_chk_guard (void *dl_random)
|
|||||||
{
|
{
|
||||||
ssize_t reslen = read_not_cancel (fd, ret.bytes + 1, filllen);
|
ssize_t reslen = read_not_cancel (fd, ret.bytes + 1, filllen);
|
||||||
close_not_cancel_no_status (fd);
|
close_not_cancel_no_status (fd);
|
||||||
if (reslen == (ssize_) filllen)
|
if (reslen == (ssize_t) filllen)
|
||||||
return ret.num;
|
return ret.num;
|
||||||
}
|
}
|
||||||
# endif
|
# endif
|
||||||
|
Reference in New Issue
Block a user