Module Name: src Committed By: plunky Date: Fri Sep 7 14:47:15 UTC 2018
Modified Files: src/sys/netbt: hci_link.c Log Message: two issues noted by maxv@ 1. If an adaptor sends repeated fragments indicating HCI_PACKET_START, we would leak mbufs. Fix that by releasing the previous in that case. 2. If an adaptor sends fragments which overflow the expected total payload length, it could build up the pending packet to use up system mbufs. Fix that by changing the unsigned calculation to a comparison and rejecting oversize packets To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/sys/netbt/hci_link.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.