Eina_List: Avoid Segfault
authorEduardo de Barros Lima <eblima@gmail.com>
Tue, 14 Sep 2010 18:29:30 +0000 (18:29 +0000)
committerEduardo de Barros Lima <eblima@gmail.com>
Tue, 14 Sep 2010 18:29:30 +0000 (18:29 +0000)
commit2216c53641eee6653a08855fe0d6d9f2501a45b4
treeecfe29fb853d34a9e5aba51882f5c857a49f7d83
parent47b00392a7b2773928d18937201304e13deac162
Eina_List: Avoid Segfault

Some inputs in which tmp - cur is greater than the number of previous nodes
in list, were causing ct to be null at end of loop.

Patch by Jonas M. Gastal <jgastal@profusion.mobi>

SVN revision: 52253
legacy/eina/src/lib/eina_list.c