Skip to content

Commit

Permalink
mstflint crash when compiled with 'CXXFLAGS='-Wp,-D_GLIBCXX_ASSERTIONS''
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Feb 10, 2019
1 parent a2ab19d commit 1787e59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mlxfwops/lib/fs3_ops.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ bool Fs3Operations::VerifyTOC(u_int32_t dtoc_addr, bool &bad_signature, VerifyCa
}
// Only when we have full verify or the info of this section should be collected for query
std::vector<u_int8_t> buffv(entry_size_in_bytes);
u_int8_t *buff = (u_int8_t *)(&(buffv[0]));
u_int8_t *buff = (u_int8_t *)(buffv.size() ? (&(buffv[0])) : NULL);
if (show_itoc) {
cibfw_itoc_entry_dump(&toc_entry, stdout);
if (!DumpFs3CRCCheck(toc_entry.type, phys_addr, entry_size_in_bytes, 0, 0, true, verifyCallBackFunc)) {
Expand Down

0 comments on commit 1787e59

Please sign in to comment.