Sanity check on prof dump buffer size.
This commit is contained in:
parent
82b8aaaeb6
commit
8a94ac25d5
@ -1303,6 +1303,7 @@ prof_dump_write(bool propagate_err, const char *s) {
|
|||||||
prof_dump_buf_end += n;
|
prof_dump_buf_end += n;
|
||||||
i += n;
|
i += n;
|
||||||
}
|
}
|
||||||
|
assert(i == slen);
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user