[BusyBox] Re: "rpm" fails with SIGSEGV
Glenn McGrath
bug1 at optushome.com.au
Fri Nov 14 21:23:09 UTC 2003
On Wed, 12 Nov 2003 16:54:50 +0000
Laurence Anderson <l.d.anderson at warwick.ac.uk> wrote:
> The rpm code uses the read_gz interface, and is getting short reads
> (from archive_xreal_all_eof), what do you think of the patch?
That patch isnt quite correct, you need to increment the buffer offset
when you retry or it will overwrite previous data.
Also, it would be better in archive_xread which is used by both the
functions you modified.
I will have a go at it now.
Glenn
More information about the busybox
mailing list