commit | dc776a2d9ca9e1b857e880ff682668871369b4c3 | [log] [tgz] |
---|---|---|
author | Jan Beulich via SeaBIOS <seabios@seabios.org> | Mon Jan 24 10:20:53 2022 +0100 |
committer | Kevin O'Connor <kevin@koconnor.net> | Thu Jan 27 11:32:47 2022 -0500 |
tree | ac25755bdcb457619d7d60b43d2d71350c8e8202 | |
parent | 15a102e062af18e01daece409ee54765a3b4ec13 [diff] |
nvme: avoid use-after-free in nvme_controller_enable() Commit b68f313c9139 ("nvme: Record maximum allowed request size") introduced a use of "identify" past it being passed to free(). Latch the value of interest into a local variable. Reported-by: Coverity (ID 1497613) Signed-off-by: Jan Beulich <jbeulich@suse.com>