cem
3b6ce85def
iflib: Fix potential leak in iflib_if_transmit
...
Due to an accidental mismatch between allocation and release in the slow path
of iflib_if_transmit, if a caller passed 9-16 mbufs to the routine, the mbuf
array would be leaked.
Fix the mismatch by removing the magic numbers in favor of nitems() on the
stack array. According to mmacy, this leak is unlikely.
Reported by: Coverity
Discussed with: mmacy
CID: 1356040
Sponsored by: EMC / Isilon Storage Division
2016-06-07 19:49:08 +00:00
..
2016-05-17 12:52:31 +00:00
2015-07-31 20:25:54 +00:00
2016-04-15 17:30:33 +00:00
2016-04-21 19:57:40 +00:00
2016-05-03 18:05:43 +00:00
2016-05-03 18:05:43 +00:00
2016-03-28 18:25:54 +00:00
2016-06-07 04:51:50 +00:00
2015-11-06 15:33:27 +00:00
2015-08-12 20:21:04 +00:00
2016-06-02 17:51:29 +00:00
2014-11-07 15:14:10 +00:00
2016-05-03 18:05:43 +00:00
2016-04-15 17:30:33 +00:00
2016-05-03 18:05:43 +00:00
2016-05-03 18:05:43 +00:00
2015-03-02 20:00:03 +00:00
2014-12-12 16:10:42 +00:00
2016-04-20 21:04:39 +00:00
2016-04-15 17:30:33 +00:00
2015-09-05 05:33:20 +00:00
2014-10-05 21:27:26 +00:00
2015-11-25 21:16:10 +00:00
2015-11-25 07:31:59 +00:00
2016-06-03 13:57:10 +00:00
2016-06-06 10:13:48 +00:00
2016-06-02 17:51:29 +00:00
2016-06-02 17:51:29 +00:00
2016-04-10 23:07:00 +00:00
2015-09-10 05:59:39 +00:00
2016-04-10 23:07:00 +00:00
2014-12-25 21:32:37 +00:00
2016-06-02 17:51:29 +00:00
2016-05-03 18:05:43 +00:00
2016-04-06 04:58:20 +00:00
2016-05-03 18:05:43 +00:00
2016-06-02 17:51:29 +00:00
2016-04-15 17:30:33 +00:00
2015-10-03 09:15:23 +00:00
2015-04-21 10:35:23 +00:00
2015-04-07 21:31:17 +00:00
2016-02-01 17:41:21 +00:00
2016-05-03 18:05:43 +00:00
2016-05-03 18:05:43 +00:00
2015-12-16 09:18:20 +00:00
2015-10-21 19:56:16 +00:00
2016-05-19 13:52:12 +00:00
2016-05-24 11:47:14 +00:00
2015-05-02 20:37:40 +00:00
2016-05-18 20:06:45 +00:00
2016-06-06 09:51:58 +00:00
2016-06-06 09:51:58 +00:00
2016-06-07 04:51:50 +00:00
2014-10-20 14:42:42 +00:00
2016-06-06 22:59:58 +00:00
2016-06-06 09:51:58 +00:00
2016-05-18 04:35:58 +00:00
2016-06-07 19:49:08 +00:00
2016-05-18 04:35:58 +00:00
2016-02-29 03:54:51 +00:00
2016-05-19 16:28:05 +00:00
2016-05-18 04:35:58 +00:00
2016-06-07 15:07:00 +00:00
2016-06-07 15:07:00 +00:00
2016-06-07 15:07:00 +00:00
2016-06-03 13:57:10 +00:00
2016-06-03 13:57:10 +00:00
2015-07-10 05:51:36 +00:00
2015-07-10 05:51:36 +00:00
2016-06-06 13:01:57 +00:00
2015-11-17 14:39:33 +00:00
2016-02-01 17:41:21 +00:00
2016-04-26 20:27:17 +00:00
2016-01-25 06:33:15 +00:00
2016-04-20 02:01:45 +00:00
2016-01-25 06:33:15 +00:00
2016-04-15 17:30:33 +00:00
2016-03-24 07:54:56 +00:00
2016-06-06 12:49:47 +00:00
2016-06-06 12:49:47 +00:00
2016-05-03 18:05:43 +00:00
2015-08-28 05:58:16 +00:00
2016-06-03 13:57:10 +00:00
2015-12-28 09:26:07 +00:00
2016-05-03 18:05:43 +00:00
2015-01-18 18:06:40 +00:00
2015-01-18 18:06:40 +00:00
2016-05-18 20:06:45 +00:00
2016-05-18 15:50:52 +00:00