Check for buffer overflow and 0 terminate export name.