RPM

Comment 1 for bug 651470

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.