eina_test_str: Make sure we have an empty string before using strcat
authorDaniel Willmann <daniel@totalueberwachung.de>
Wed, 12 Jun 2013 22:57:42 +0000 (23:57 +0100)
committerDaniel Willmann <daniel@totalueberwachung.de>
Wed, 12 Jun 2013 22:57:42 +0000 (23:57 +0100)
commit0e51bff61ac4678ab75384d704141f49c87f352b
tree378d578ccf2d02a394ee47a347c30caceebe7a27
parent79496745cff6acdfc15aed2377d142b59917416c
eina_test_str: Make sure we have an empty string before using strcat

Caused issues with address sanitizer. Just calling allocating memory for
a string does not mean that it's empty/NULL-terminated.
src/tests/eina/eina_test_str.c