Revision 28909928e39ebd95fecd7f7e8544f032f334d894 authored by Roman Lebedev on 21 September 2016, 16:57:59 UTC, committed by Roman Lebedev on 21 September 2016, 17:11:53 UTC
We keep buffers and reuse them to not re-allocate each time. While this does save us from malloc(3) overhead, this also shadows the actual size that e think is usable from AddressSanitizer. I.e. we first allocate buf of size 4, use it, and then re-use it but with size 2. And if there is some code that overflows it, we may not know about it. With this hacky manual (un)poisoning, hopefully, it will be easier to catch buffer overflows.
1 parent d9dda34
File | Mode | Size |
---|---|---|
cmake | ||
data | ||
doc | ||
packaging | ||
po | ||
src | ||
tools | ||
.clang-format | -rw-r--r-- | 1.5 KB |
.dir-locals.el | -rw-r--r-- | 94 bytes |
.gitattributes | -rw-r--r-- | 29 bytes |
.gitignore | -rw-r--r-- | 123 bytes |
.mailmap | -rw-r--r-- | 6.2 KB |
CMakeLists.txt | -rw-r--r-- | 17.6 KB |
CONTRIBUTING.md | -rw-r--r-- | 2.2 KB |
LICENSE | -rw-r--r-- | 34.3 KB |
README.md | -rw-r--r-- | 2.3 KB |
RELEASE_NOTES | -rw-r--r-- | 1008 bytes |
build.sh | -rwxr-xr-x | 7.2 KB |
iwyu.imp | -rw-r--r-- | 6.5 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...