diff options
author | Qi Wang <interwq@gwu.edu> | 2019-08-01 23:16:44 (GMT) |
---|---|---|
committer | Qi Wang <interwq@gmail.com> | 2019-08-02 00:55:45 (GMT) |
commit | 8a94ac25d597e439b05b38c013e4cb2d1169c681 (patch) | |
tree | bcb7a72ac66ef364145dcd1b4daeaf959d53146f | |
parent | 82b8aaaeb68ccb65ca52532f4806a43fbdb26b7a (diff) | |
download | jemalloc-8a94ac25d597e439b05b38c013e4cb2d1169c681.zip jemalloc-8a94ac25d597e439b05b38c013e4cb2d1169c681.tar.gz jemalloc-8a94ac25d597e439b05b38c013e4cb2d1169c681.tar.bz2 |
Sanity check on prof dump buffer size.
-rw-r--r-- | src/prof.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; } |