diff options
author | van Hauser <vh@thc.org> | 2020-05-10 15:36:46 +0200 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-05-10 15:36:46 +0200 |
commit | 07a0e2caf77c0b7560a2344fe25e197782ad2d9d (patch) | |
tree | 9e40704760650be7089a0e9875fd7311a796458e /include | |
parent | 30bfd44dfd9f442d5514a7100d76d1fd3d9deb74 (diff) | |
download | afl++-07a0e2caf77c0b7560a2344fe25e197782ad2d9d.tar.gz |
hopefully final fixes from code-format disaster :-(
Diffstat (limited to 'include')
-rw-r--r-- | include/alloc-inl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/alloc-inl.h b/include/alloc-inl.h index cc394040..7279c323 100644 --- a/include/alloc-inl.h +++ b/include/alloc-inl.h @@ -237,6 +237,7 @@ static inline u8 *DFL_ck_memdup_str(u8 *mem, u32 size) { ({ \ \ \ + \ u8 *_tmp; \ s32 _len = snprintf(NULL, 0, _str); \ if (_len < 0) FATAL("Whoa, snprintf() fails?!"); \ @@ -315,6 +316,7 @@ while (0) ({ \ \ \ + \ typeof(_p) _tmp = (_p); \ CHECK_PTR(_tmp); \ _tmp; |