• cmiller@zippy.(none)'s avatar
    Bug#19006: 4.0 valgrind problems (in test func_str) · 5039184e
    cmiller@zippy.(none) authored
    On exactly-sized Strings, the String::c_ptr() function peeked beyond the
    end of the buffer, possibly into unititialized space to see whether the 
    buffer was NUL-terminated.
    
    In a place that did peek improperly, we now use a c_ptr_safe() function, 
    which doesn't peek where it shouldn't.
    5039184e
item_strfunc.cc 54.9 KB