rpm2cpio does not handle partial reads and writes properly
Bug #651470 reported by
Jeff Johnson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
RPM |
New
|
Undecided
|
Unassigned | ||
Fedora |
Fix Released
|
Medium
|
Bug Description
tracker
tags: | added: rhel rpm2cpio rpmio |
Changed in fedora: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
To post a comment you must log in.
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.