RPM

rpm2cpio does not handle partial reads and writes properly

Bug #651470 reported by Jeff Johnson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
RPM
New
Undecided
Unassigned
Fedora
Fix Released
Medium

Bug Description

tracker

Revision history for this message
In , Tom (tom-redhat-bugs) wrote :

Created attachment 405581
Handle partial reads and writes in rpmio lib

Description of problem:

If rpm2cpio receives certain signals, such as SIGCONT, read and write may return EINTR, which results in partial libc reads and writes. This is not handled properly and results in incorrect behavior.

Please find the attached patch to fix the issue.

Jeff Johnson (n3npq)
tags: added: rhel rpm2cpio rpmio
Revision history for this message
In , Panu (panu-redhat-bugs) wrote :

This request was evaluated by Red Hat Engineering for inclusion in a Red Hat Enterprise Linux maintenance release.

Red Hat does not currently plan to provide this change in a Red Hat Enterprise Linux update release for currently deployed products.

With the goal of minimizing risk of change for deployed systems, and in response to customer and partner requirements, Red Hat takes a conservative approach when evaluating enhancements for inclusion in maintenance updates for currently deployed products. The primary objectives of update releases are to enable new hardware platform support and to resolve critical defects.

This should be fixed in Red Hat Enterprise Linux >= 6.4 however.

Changed in fedora:
importance: Unknown → Medium
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.