diff options
author | Adam Jackson <ajax@redhat.com> | 2011-08-03 18:35:11 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2011-08-03 18:35:11 -0400 |
commit | 7bfc4f806d51b85e7ae069dd6deaf0b48326ed22 (patch) | |
tree | 4faa97f399ea9b9cdcb019b3f6689cfccad15a66 /src/common_bridge.c | |
parent | f9159b97834ba4b4e42a07953a33866e7ac90dbd (diff) |
linux: Fix a crash in populate_devices
If scandir returns -1, the 'devices' array won't be initialized, and
attempting to free() it will crash.
Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'src/common_bridge.c')
0 files changed, 0 insertions, 0 deletions