owfs: avoid npe in BUS_reset function
authorMarcin Jurkowski <marcin1j@gmail.com>
Mon, 29 Jun 2015 19:01:04 +0000 (21:01 +0200)
committerMarcin Jurkowski <marcin1j@gmail.com>
Mon, 31 Aug 2015 23:29:23 +0000 (01:29 +0200)
commit101fc3047c187265a1fcf35b9b1efaad98c5082e
tree03918e9c66621814a523cb0a72dde01c5cec0c67
parent2d537bc98fc365e466b7aff0b10855051d9b0783
owfs: avoid npe in BUS_reset function

Monitor adapters (zeroconf, enet, usb and w1) don't have the reset
routine, causing null pointer dereference in BUS_reset function.

This patch has been submitted upstream:
https://sourceforge.net/p/owfs/bugs/67/

Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
utils/owfs/patches/101-fix-no-reset-routine-segfault.patch [new file with mode: 0644]