• Marko Mäkelä's avatar
    Fix GCC 9.2.1 -Wstringop-truncation · 5164f8c2
    Marko Mäkelä authored
    dict_table_rename_in_cache(): Use strcpy() instead of strncpy(),
    because they are known to be equivalent in this case (the length
    of old_name was already validated).
    
    mariabackup: Invoke strncpy() with one less than the buffer size,
    and explicitly add NUL as the last byte of the buffer.
    5164f8c2
changed_page_bitmap.cc 28.5 KB