diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2017-06-01 17:23:13 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2017-06-15 11:04:05 +0200 |
commit | 36c327a69d723571f02a7691631667cdb1865ee1 (patch) | |
tree | 8a764c27268aca85dfedec61eed9cfc37398524a /roms | |
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>
Diffstat (limited to 'roms')
0 files changed, 0 insertions, 0 deletions