Skip to content

libnvme: fix uninitialized argument in libnvme_get_lba_status_log()#3471

Open
fhassan-ibm wants to merge 1 commit into
linux-nvme:masterfrom
fhassan-ibm:fix-lba-status-log-argument
Open

libnvme: fix uninitialized argument in libnvme_get_lba_status_log()#3471
fhassan-ibm wants to merge 1 commit into
linux-nvme:masterfrom
fhassan-ibm:fix-lba-status-log-argument

Conversation

@fhassan-ibm

Copy link
Copy Markdown

The log argument was passed uninitialized to nvme_init_get_log_lba_status(). Pass the allocated buf instead to prevent undefined behavior.

The log argument was passed uninitialized to nvme_init_get_log_lba_status().
Pass the allocated buf instead to prevent undefined behavior.

Signed-off-by: Fahim Hassan <fahim.hassan@ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant