megasas: do not read DCMD opcode more than once from frame
Avoid TOC-TOU bugs by storing the DCMD opcode in the MegasasCmd
Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
Showing
Please register or sign in to comment
Avoid TOC-TOU bugs by storing the DCMD opcode in the MegasasCmd
Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>