rpm-software-management / deltarpm

Other
21 stars 12 forks source link

"payload read failed" for xz rpms > 2^25 byte in size #6

Open fholzer opened 5 years ago

fholzer commented 5 years ago

I get "payload read failed" for my xz compressed input rpms that are ~95M in size. I found that this can be resolved by changing the memory limit from 1<<25 to 1<<27 which is hard-coded here. The is actually not triggered when lzma_auto_decoder is called, but when crread_lz is called, where cfile_readbuf returns LZMA_MEMLIMIT_ERROR.