Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4:Update
ntp
ntp-segfault_on_invalid_device.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ntp-segfault_on_invalid_device.patch of Package ntp
diff -ru ntpd/refclock_parse.c ntpd/refclock_parse.c --- ntpd/refclock_parse.c 2007-08-18 22:24:46.000000000 +0200 +++ ntpd/refclock_parse.c 2008-09-25 17:03:56.000000000 +0200 @@ -3319,6 +3319,10 @@ struct parseunit *parse = (struct parseunit *)peer->procptr->unitptr; parsectl_t tmpctl; + /* If opening the clock device failed, unitptr is NULL */ + if (!parse) + return; + static char outstatus[400]; /* status output buffer */ if (out) Nur in ntp-segfault_on_invalid_device/ntpd: refclock_parse.c.orig.
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