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.
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.