Bug 96927
Summary: | Buffer overflow in ntpdate.c | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Peter Benie <pjb1008> |
Component: | ntp | Assignee: | Harald Hoyer <harald> |
Status: | CLOSED ERRATA | QA Contact: | Brian Brock <bbrock> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 8.0 | CC: | k.georgiou |
Target Milestone: | --- | Keywords: | Security |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-10-08 12:04:43 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Peter Benie
2003-06-06 16:19:58 UTC
ntp needs to write /etc/ntp/drift.TEMP, so this layout does not completly work.. In my layout should be writing to /etc/ntp/data/drift.TEMP. Did you remember to update the driftfile setting in ntp.conf? I just found another couple of bugs: When the temporary driftfile is written (ntp_util.c:232-238), it ignores the value of ferror and the return value from fclose so it won't notice any write errors. Then it renames stats_temp_file stats_drift_file and ignores the status from that too. this should be reported on http://bugzilla.ntp.org/ and you are right.. sorry, just overflew this entry.. An errata has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2003-254.html |