diff options
author | Bastien Nocera | 2009-08-01 15:02:39 +0100 |
---|---|---|
committer | Martin Szulecki | 2009-08-01 18:50:59 +0200 |
commit | f5bec85063c0a05085f9c03fb2d76ba6a1d1c92d (patch) | |
tree | d6f54b7911d1dbd54058ec40da8cb335db5eddba /src/debug.h | |
parent | 8c6874c0dea0240b2c1c3c996fea2ac6182bca4d (diff) | |
download | libimobiledevice-f5bec85063c0a05085f9c03fb2d76ba6a1d1c92d.tar.gz libimobiledevice-f5bec85063c0a05085f9c03fb2d76ba6a1d1c92d.tar.bz2 |
Avoid invalid memory accesses in lockdownd_client_new()
Valgrind complains:
==2678== Conditional jump or move depends on uninitialised value(s)
==2678== at 0x3ACD40646C: lockdownd_client_new (lockdown.c:662)
==2678== by 0x405BA6: g_vfs_afc_volume_new (afc-volume.c:113)
==2678== by 0x406541: g_vfs_afc_monitor_device_added (afc-volume-monitor.c:46)
==2678== by 0x4066B1: g_vfs_afc_volume_monitor_constructor (afc-volume-monitor.c:173)
==2678== by 0x3A7FE11A38: g_object_newv (in /lib64/libgobject-2.0.so.0.2000.4)
==2678== by 0x3A7FE12584: g_object_new_valist (in /lib64/libgobject-2.0.so.0.2000.4)
==2678== by 0x3A7FE126DB: g_object_new (in /lib64/libgobject-2.0.so.0.2000.4)
==2678== by 0x408AD5: monitor_try_create (gvfsproxyvolumemonitordaemon.c:1651)
==2678== by 0x408C20: g_vfs_proxy_volume_monitor_daemon_main (gvfsproxyvolumemonitordaemon.c:1694)
==2678== by 0x37E881EA2C: (below main) (in /lib64/libc-2.10.1.so)
==2678== Uninitialised value was created by a stack allocation
==2678== at 0x405B00: g_vfs_afc_volume_new (afc-volume.c:138)
Diffstat (limited to 'src/debug.h')
0 files changed, 0 insertions, 0 deletions