[PATCH 0/3] USB: serial: even more fixes for v3.7

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

 



This is the third and hopefully last set of fixes for v3.7 this time around.

Turns out that the three usb_wwan driver all allocated interface private data
in probe rather than attach, which is a bug as that memory will not be freed if
usb-serial probe fails (before the serial->attached flag is set).

These three patches depend on "[PATCH 18/21] USB: usb-wwan: fix multiple memory
leaks in error paths" in the first series of fixes:

	http://marc.info/?l=linux-usb&m=135115389307260&w=2

I did not tag that one nor these three with a stable tag as they fix problems
in error paths, but perhaps they should be applied to the stable trees as well.
Your decision, Greg.

Thanks,
Johan


Johan Hovold (3):
  USB: ipw: fix interface-data memory leak in error path
  USB: option: fix interface-data memory leak in error path
  USB: qcserial: fix interface-data memory leak in error path

 drivers/usb/serial/ipw.c      |  5 ++---
 drivers/usb/serial/option.c   | 21 +++++++++++++++++++--
 drivers/usb/serial/qcserial.c | 31 ++++++++++++++++---------------
 3 files changed, 37 insertions(+), 20 deletions(-)

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