Skip to content
Commit 5429c8de authored by Greg Joyce's avatar Greg Joyce Committed by Jens Axboe
Browse files

block: sed-opal: handle empty atoms when parsing response



The SED Opal response parsing function response_parse() does not
handle the case of an empty atom in the response. This causes
the entry count to be too high and the response fails to be
parsed. Recognizing, but ignoring, empty atoms allows response
handling to succeed.

Signed-off-by: default avatarGreg Joyce <gjoyce@linux.ibm.com>
Link: https://lore.kernel.org/r/20240216210417.3526064-2-gjoyce@linux.ibm.com


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 15afd3d3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment