]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Protect against count of chars received being 0, which causes a panic
authordg <dg@FreeBSD.org>
Wed, 18 Mar 1998 20:52:28 +0000 (20:52 +0000)
committerdg <dg@FreeBSD.org>
Wed, 18 Mar 1998 20:52:28 +0000 (20:52 +0000)
commit12550f787500bd4ce7e933932ca2e3e0bebbd1be
treebeab4b2c369de97ef78e58ce622a13f17d2c8e7b
parente46f4af1d6a80dcb6076cea2f43bf2b2ffa2e53e
Protect against count of chars received being 0, which causes a panic
otherwise. Can apparantly happen with some firmware revs.

Submitted by: Kouichi Hirabayashi <kh@mogami-wire.co.jp>
sys/dev/cy/cy.c
sys/dev/cy/cy_isa.c
sys/i386/isa/cy.c