Bug 113100
Summary: | CAN-2003-0465 kernel strncpy padding | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 3 | Reporter: | Mark J. Cox <mjc> | ||||||||||
Component: | kernel | Assignee: | Ernie Petrides <petrides> | ||||||||||
Status: | CLOSED ERRATA | QA Contact: | Brian Brock <bbrock> | ||||||||||
Severity: | medium | Docs Contact: | |||||||||||
Priority: | medium | ||||||||||||
Version: | 3.0 | CC: | jbaron, jdewand, jparadis, petrides, riel, zaitcev | ||||||||||
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: | 2004-05-12 01:08:15 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: | |||||||||||||
Bug Depends On: | |||||||||||||
Bug Blocks: | 107562 | ||||||||||||
Attachments: |
|
Description
Mark J. Cox
2004-01-08 15:29:14 UTC
Created attachment 97323 [details]
The s390,s390x test fix
Created attachment 97329 [details]
ppc64 patch
Thought I'd follow Pete's lead and attach the ppc64 patch here as well.
Created attachment 97337 [details]
Correct s390 version from Martin (2.6)
Created attachment 97343 [details]
Patch for generic kernel strncpy
Amazingly enough, x86_64 doesn't have arch-specific string routines; it uses
the generic routines in lib (this is true upstream as well, for both 2.4 and
2.6)
Attached is a patch to drop-in the 2.6 version of strncpy, which does the right
thing.
ia64 uses the generic routines as well. The fixes required to make the x86_64, ia64, ppc64, s390, and s390x versions of strncpy() zero-pad the destination buffer were committed to the RHEL3 U2 patch pool tonight. They will first be available in kernel version 2.4.21-9.7.EL. 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/RHSA-2004-188.html |