Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Aug 2006 20:23:13 +0200
From:      Ivan Radovanovic <rivan@sezampro.yu>
To:        freebsd-ports@freebsd.org
Subject:   [bug] Driver for the Lucent LT Winmodem chipset (comms/ltmdm)
Message-ID:  <44F09191.9030904@sezampro.yu>

index | next in thread | raw e-mail

[-- Attachment #1 --]
I have recently found bug in ltmdm driver. Driver crashes whole system 
every time when phone call is received while driver is in memory. 
Problem is in ltmdmsio.c file, trying to read NULL pointer. I fixed this 
problem, in attachment are two diff files:
- patch-sys-dev-ltmdm-ltmdmsio.c - patch file from directory files in
ltmdm port directory. I have changed this file to include check not to
read memory from NULL pointer
- ltmdmsio.c.diff - diff after applying change between original
ltmdmsio.c file, and ltmdmsio.c file I have changed

Best regards,
Ivan

P.S.
I am using FreeBSD 6.1, problem also existed in FreeBSD 5.x




[-- Attachment #2 --]
2089c2089
<             if (com->tp != 0 && com->tp->t_hotchar != 0 && recv_data == com->tp->t_hotchar)
---
>             if (com->tp->t_hotchar != 0 && recv_data == com->tp->t_hotchar)



help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44F09191.9030904>