elementary: make sure we don't iterate out of bounds
authorJean Guyomarc'h <jean.guyomarch@openwide.fr>
Fri, 26 Aug 2016 13:00:52 +0000 (15:00 +0200)
committerJean Guyomarc'h <jean@guyomarch.bzh>
Fri, 26 Aug 2016 19:16:39 +0000 (21:16 +0200)
commit322adb2e035fec05de109568934a013afe0b9edb
tree902a367255bbfafdfbd41e598135694f2a97a9b7
parent5db3357f4029ad88b14ceb7b125d981e23889ec8
elementary: make sure we don't iterate out of bounds

The carray iterator will end iterating only when it finds a NULL
object. We must make sure the last element of the array is NULL
to avoid out of bounds access.
src/lib/elementary/elc_fileselector.c