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
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)
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"