Bug 185242
Summary: | ioctl default minimum argument length of 256 should be restored | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jason Vas Dias <jvdias> |
Component: | perl | Assignee: | Jason Vas Dias <jvdias> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | David Lawrence <dkl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4 | CC: | jose.p.oliveira.oss, perl-devel, prockai, rgarciasuarez |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://rt.perl.org/rt3/Ticket/Display.html?id=38223 | ||
Whiteboard: | |||
Fixed In Version: | FC5 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-09-22 02:19:48 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: | 185240 | ||
Bug Blocks: |
Description
Jason Vas Dias
2006-03-12 18:58:56 UTC
FWIW it's upstream change #26815. Actually, I'm not sure the upstream patch is totally correct : # define IOCPARM_LEN(x) (_IOC_SIZE(x) < 256 ? 256 : _IOC_SIZE(x)) This ignores any non-zero _IOC_SIZE passed in if it is less than 256 ; why would the programmer pass in a non-zero _IOC_SIZE if it is not the size required ? I'm going to make it: # define IOCPARM_LEN(x) (_IOC_SIZE(x) ? _IOC_SIZE(x) : 256) which allows people to pass in a non-zero _IOC_SIZE that is less than 256, and will also fix the case where _IOC_SIZE is 0 and users depend on the default 256 length. Any objections ? Now fixed with perl-5.8.6-24 for FC-4, shortly to be released to Updates/Testing. From User-Agent: XML-RPC perl-5.8.6-24 has been pushed for FC4, which should resolve this issue. If these problems are still present in this version, then please make note of it in this bug report. perl-5.8.6-24 has been pushed for FC4, which should resolve this issue. If these problems are still present in this version, then please make note of it in this bug report. Closing bugs in MODIFIED state from prior Fedora releases. If this bug persists in a current Fedora release (such as Fedora Core 5 or later), please reopen and set the version appropriately. |