]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Char: isicom, fix close bug
authorJiri Slaby <jirislaby@gmail.com>
Mon, 4 Dec 2006 13:06:36 +0000 (14:06 +0100)
committerAdrian Bunk <bunk@stusta.de>
Mon, 4 Dec 2006 13:06:36 +0000 (14:06 +0100)
commit407e973fcc4bf33964851f2f01817c1958479868
tree77bee0f2f44a99e6175dae7c3bce4d200955a1b5
parent2491185f7a9a5592dba42547ffff1f56bf5af66f
Char: isicom, fix close bug

port is dereferenced even if it is NULL.  Dereference it _after_ the
check if (!port)...  Thanks Eric <ef87@yahoo.com> for reporting this.

This fixes

        http://bugzilla.kernel.org/show_bug.cgi?id=7527

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
drivers/char/isicom.c