CVSROOT: /cvs Module name: src Changes by: clau...@cvs.openbsd.org 2017/07/19 01:02:52
Modified files: sys/dev/pci : if_vte.c Log message: Fix possible double free in the TX dma ring handling. If the allocation of the cluster fails in vte_init_tx_ring() the mbuf is removed but the slot in the ring still holds the pointer. A possible call to vte_stop() would then cause a double free. Again set pointer to NULL to prevent this. Found by Ilja Van Sprundel OK bluhm@