[PATCH 0/4] usb: wusbcore: resource cleanup fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This set of patches fixes a few cases where objects were being 
incompletely cleaned up by error handlers which could cause double free 
conditions or NULL dereferences in those cases.  There is also a memory 
leak fix for out transfers on the HWA.

These should be applied after the struct field rename patches I sent 
earlier since this set references some of those renamed objects.

Thomas Pugliese (4):
  usb: wusbcore: allow wa_xfer_destroy to clean up partially
    constructed xfers
  usb: wusbcore: resource cleanup fix in __wa_xfer_setup_segs
  usb: wusbcore: clean up the sg list that was created for out
    transfers
  usb: wusbcore: set pointers to NULL after freeing in error cases

 drivers/usb/wusbcore/wa-xfer.c |  137 ++++++++++++++++++++++++----------------
 1 file changed, 81 insertions(+), 56 deletions(-)

-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux