issues
search
jvm-profiling-tools
/
honest-profiler
A sampling JVM profiler without the safepoint sample bias
https://github.com/RichardWarburton/honest-profiler/wiki
MIT License
1.25k
stars
146
forks
source link
Ensure strings are NUL terminated
#117
Closed
kylesm
closed
8 years ago
kylesm
commented
8 years ago
Switch ConfigurationOptions to use an initializer list instead of the initializeDefaults method
Safely copy strings, ensuring that they are always NUL-terminated
If nothing else, there's a bug in the original size calculation where it does
strlen(key)
instead of
strlen(value)
strlen(key)
instead ofstrlen(value)