[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/51458: usb athn panic
The following reply was made to PR kern/51458; it has been noted by GNATS.
From: David Holland <dholland-bugs%netbsd.org@localhost>
Subject: Re: kern/51458: usb athn panic
Date: Mon, 5 Sep 2016 17:59:23 +0000
On Sat, Sep 03, 2016 at 03:45:00AM +0000, pr%xn--rvztrtkrfrgp-bbb7j2b8f0b9d7a21oft.com@localhost wrote:
> Panic on attach of a athn* device:
> #5 0xffffffff803a1081 in athn_usb_htc_msg (usc=0x0,
> buf=buf@entry=0xfffffe8045b90b00, len=len@entry=8)
> at /usr/src/sys/dev/usb/if_athn_usb.c:919
919: htc = (struct ar_htc_frame_hdr *)data->buf;
920: memset(htc, 0, sizeof(*htc));
which comes from
910: struct athn_usb_tx_data *data = &usc->usc_tx_cmd;
and as far as I can tell, the contents of usc_tx_cmd are never
initialized except when the softc's initially zeroed out, so buf will
Your line numbers appear to not quite match mine but that might just
be version skew; I'm looking at if_athn_usb.c -r1.12.
I have no idea what to do about it, but hopefully someone else does.
David A. Holland
Main Index |
Thread Index |