Messages in this thread | | | Date | Thu, 9 Oct 2008 10:18:22 +0100 | From | Alan Cox <> | Subject | Re: [PATCH] max3100 driver |
| |
> > If there has been a hangup the port.tty will be NULL... > > > > I check against NULL. But let me ask again: the other drivers (for > example SA1100) don't do it. How they avoid the nasty NULL pointer > dereference?
Some drives keep the tty pointer and deliver data to closed ttys wrongly, others do careful locking, others are just broken.
> Sorry again for not having replied before resending the patch.
No problem
| |