Yuanhan Liu
9d8365874e
vhost: fix potential null pointer dereference
Fix the potential NULL pointer dereference issue raised by Coverity.
578 reconn = malloc(sizeof(*reconn));
>>> CID 127481: Null pointer dereferences (NULL_RETURNS)
>>> Dereferencing a null pointer "reconn".
579 reconn->un = un;
Coverity issue: 127481
Fixes: e623e0c6d8a5 ("vhost: add reconnect ability")
Reported-by: John McNamara <john.mcnamara@intel.com>
Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
2016-07-04 04:08:41 +02:00
..
2015-11-24 21:34:11 +01:00
2015-09-24 14:57:36 +02:00
2016-06-22 09:47:07 +02:00
2016-07-04 04:08:41 +02:00
2016-06-29 13:33:01 +02:00
2016-06-22 09:02:58 +02:00
2016-06-22 09:47:12 +02:00
2016-06-22 09:47:12 +02:00
2016-06-22 09:47:12 +02:00
2016-06-22 09:47:12 +02:00