Bug 640523 - chown fails with "OverflowError: signed integer is greater than maximum"
Summary: chown fails with "OverflowError: signed integer is greater than maximum"
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: python
Version: 5.6
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Dave Malcolm
QA Contact: Petr Šplíchal
URL:
Whiteboard:
Depends On:
Blocks: 743405
TreeView+ depends on / blocked
 
Reported: 2010-10-06 08:50 UTC by ritz
Modified: 2018-11-14 16:57 UTC (History)
4 users (show)

Fixed In Version: python-2.4.3-54.el5
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-08 07:22:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
patch based on upstream code (812 bytes, application/octet-stream)
2010-10-06 08:50 UTC, ritz
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:0045 0 normal SHIPPED_LIVE python bug fix and enhancement update 2013-01-07 15:28:13 UTC

Description ritz 2010-10-06 08:50:40 UTC
Created attachment 451835 [details]
patch based on upstream code

Description of problem:
chown fails with "OverflowError: signed integer is greater than maximum"

Version-Release number of selected component (if applicable):
python-2.4.3-32

How reproducible:
always

Steps to Reproduce:
1. cat ./chown.py 
import os,sys 
os.chown("/etc/motd",4294967294,4294967294) 

2. python ./chown.py

  
Actual results:
OverflowError: signed integer is greater than maximum

Expected results:
should work

Additional info:
patch attached

Comment 1 Dave Malcolm 2010-10-11 15:22:34 UTC
The patch appears similar to this upstream fix:
  http://svn.python.org/view?view=rev&revision=77007

(The upstream commit also changes the test coverage somewhat)

Comment 2 RHEL Program Management 2011-05-31 15:30:14 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated in the
current release, Red Hat is unfortunately unable to address this
request at this time. Red Hat invites you to ask your support
representative to propose this request, if appropriate and relevant,
in the next release of Red Hat Enterprise Linux.

Comment 4 RHEL Program Management 2012-04-02 10:48:33 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.

Comment 15 errata-xmlrpc 2013-01-08 07:22:36 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-0045.html


Note You need to log in before you can comment on or make changes to this bug.