• Vasil Velichkov's avatar
    Do not copy the memory when the buffer is empty · 34e8fc5f
    Vasil Velichkov authored
    This fixes the following undefined behaviour
    
    converter-example.c:721:13: runtime error: null pointer passed as argument 2, which is declared to never be null
    /usr/include/string.h:44:28: note: nonnull attribute specified here
    34e8fc5f
converter-example.c 33 KB