Sanity check on prof dump buffer size.

This commit is contained in:
Qi Wang 2019-08-01 16:16:44 -07:00 committed by Qi Wang
parent 82b8aaaeb6
commit 8a94ac25d5

View File

@ -1303,6 +1303,7 @@ prof_dump_write(bool propagate_err, const char *s) {
prof_dump_buf_end += n;
i += n;
}
assert(i == slen);
return false;
}