commit | 36c327a69d723571f02a7691631667cdb1865ee1 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Thu Jun 01 17:23:13 2017 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Thu Jun 15 11:04:05 2017 +0200 |
tree | 8a764c27268aca85dfedec61eed9cfc37398524a | |
parent | 5104fac8539eaf155fc6de93e164be43e1e62242 [diff] |
megasas: do not read command more than once from frame Avoid TOC-TOU bugs by passing the frame_cmd down, and checking cmd->dcmd_opcode instead of cmd->frame->header.frame_cmd. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>