diff options
author | Harald Hoyer <harald@redhat.com> | 2013-08-19 15:18:43 +0200 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2013-08-19 15:21:49 +0200 |
commit | 763a24a3b62f0eaac43fb58202ad3594f1af09ac (patch) | |
tree | a8c333f4cd347293617a769af69a57dbab71eeec /test | |
parent | 4bb3a126b7a683a537d4279270c1a22ce6cf5e9f (diff) |
libudev-enumerate.c:udev_enumerate_get_list_entry() fixed possible stale pointer
If a realloc() happens in syspath_add(), the move_later pointer could
point to an invalid memory region.
Let move_later store the array index, instead of the pointer to the
entry.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions