Stephen Checkoway d80cf1eb2e block/pflash_cfi02: Fix memory leak and potential use-after-free
Don't dynamically allocate the pflash's timer. But do use timer_del in
an unrealize function to make sure that the timer can't fire after the
pflash_t has been freed.

Signed-off-by: Stephen Checkoway <stephen.checkoway@oberlin.edu>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Wei Yang <richardw.yang@linux.intel.com>
Message-Id: <20190219153727.62279-1-stephen.checkoway@oberlin.edu>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
2019-03-06 10:37:23 +01:00
..
2019-02-22 09:42:13 +00:00
2019-02-27 21:06:08 -06:00
2019-02-27 21:06:08 -06:00
2016-01-29 15:07:25 +00:00
2019-02-05 19:39:22 +00:00
2019-02-07 16:49:30 +00:00
2019-03-04 13:38:54 +00:00