• Vasil Velichkov's avatar
    Do not copy the memory when the buffer is empty · 2cf93647
    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
    2cf93647
converter-example.c 33 KB