patch-2.4.15 linux/net/bluetooth/hci_core.c
Next file: linux/net/bridge/br_stp_bpdu.c
Previous file: linux/net/atm/resources.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Fri Nov 9 14:21:21 2001
- Orig file:
v2.4.14/linux/net/bluetooth/hci_core.c
- Orig date:
Tue Oct 9 17:06:53 2001
diff -u --recursive --new-file v2.4.14/linux/net/bluetooth/hci_core.c linux/net/bluetooth/hci_core.c
@@ -891,7 +891,7 @@
/* Limit inquiry time, also avoid overflows */
- if(ir.length > 2048)
+ if(ir.length > 2048 || ir.num_rsp > 2048)
{
err = -EINVAL;
goto done;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)