Eina tmpstr: fix race condition.
authorTom Hacohen <tom@stosb.com>
Mon, 9 Feb 2015 13:47:00 +0000 (13:47 +0000)
committerTom Hacohen <tom@stosb.com>
Mon, 9 Feb 2015 13:55:13 +0000 (13:55 +0000)
commitfb8dfe98cd940acade1b6bfe3f15c202b9757380
tree98b665651d74c8b9a31cb4a734addf745d0ab22b
parentf7a6880d5b0f25c8004d2bb3ba6385cc0d8869c5
Eina tmpstr: fix race condition.

We take a lock, search the list, and the release the lock before we
finish using the values of the list. While unlikely, the string could be
deleted in the meanwhile.
src/lib/eina/eina_tmpstr.c