Re: [PATCH] qemu-pr-helper: fix crash in mpath_reconstruct_sense

2019-09-24 Thread Paolo Bonzini
On 24/09/19 01:38, Maxim Levitsky wrote: > The 'r' variable was accidently shadowed, and because of this > we were always passing 0 to mpath_generic_sense, instead of original > return value, which triggers an abort() > > This is an attempt to fix the > https://bugzilla.redhat.com/show_bug.cgi?id=

[PATCH] qemu-pr-helper: fix crash in mpath_reconstruct_sense

2019-09-23 Thread Maxim Levitsky
The 'r' variable was accidently shadowed, and because of this we were always passing 0 to mpath_generic_sense, instead of original return value, which triggers an abort() This is an attempt to fix the https://bugzilla.redhat.com/show_bug.cgi?id=1720047 although there might be other places in the c