Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 676354 Details for
Bug 756316
sys-libs/glibc-2.32-r3: SIGSEGV on adjtime(NULL,...) (was: net-misc/openntpd-6.2_p3-r2 segfaults on start on x86)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for bug in glibc function adjtime
glibc-2.32-r2_adjtime.patch (text/plain), 845 bytes, created by
acmondor
on 2020-12-03 01:43:04 UTC
(
hide
)
Description:
Patch for bug in glibc function adjtime
Filename:
MIME Type:
Creator:
acmondor
Created:
2020-12-03 01:43:04 UTC
Size:
845 bytes
patch
obsolete
>diff -ruN glibc-2.32_old/sysdeps/unix/sysv/linux/adjtime.c glibc-2.32_new/sysdeps/unix/sysv/linux/adjtime.c >--- glibc-2.32_old/sysdeps/unix/sysv/linux/adjtime.c 2020-08-04 20:17:00.000000000 -0600 >+++ glibc-2.32_new/sysdeps/unix/sysv/linux/adjtime.c 2020-12-02 18:49:49.764659153 -0600 >@@ -68,11 +68,18 @@ > int > __adjtime (const struct timeval *itv, struct timeval *otv) > { >- struct __timeval64 itv64, otv64; >+ struct __timeval64 itv64, otv64, *pitv64; > int retval; > >- itv64 = valid_timeval_to_timeval64 (*itv); >- retval = __adjtime64 (&itv64, otv != NULL ? &otv64 : NULL); >+ if (itv) >+ { >+ itv64 = valid_timeval_to_timeval64 (*itv); >+ pitv64 = &itv64; >+ } >+ else >+ pitv64 = NULL; >+ >+ retval = __adjtime64 (pitv64, otv != NULL ? &otv64 : NULL); > if (otv != NULL) > *otv = valid_timeval64_to_timeval (otv64); >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 756316
:
675985
| 676354