diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2012-07-06 15:40:37 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2012-07-06 15:40:37 +0200 |
commit | fe432d33cc0550ca658694f19e34cf0f70f0e803 (patch) | |
tree | 0c429e96bf6f906c79d3bf4db898802a486e576a /src/cameras/uca-ufo-camera.c | |
parent | b631fb75ff027d1d4d59466d0ad02e1f4b83a596 (diff) | |
download | libuca-fe432d33cc0550ca658694f19e34cf0f70f0e803.tar.gz libuca-fe432d33cc0550ca658694f19e34cf0f70f0e803.tar.bz2 libuca-fe432d33cc0550ca658694f19e34cf0f70f0e803.tar.xz libuca-fe432d33cc0550ca658694f19e34cf0f70f0e803.zip |
Fix segfault caused by wrong memcpy parameter
Diffstat (limited to 'src/cameras/uca-ufo-camera.c')
-rw-r--r-- | src/cameras/uca-ufo-camera.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cameras/uca-ufo-camera.c b/src/cameras/uca-ufo-camera.c index 2969b75..e61bbc5 100644 --- a/src/cameras/uca-ufo-camera.c +++ b/src/cameras/uca-ufo-camera.c @@ -189,7 +189,7 @@ static void uca_ufo_camera_grab(UcaCamera *camera, gpointer *data, GError **erro */ /* assert(err == size); */ - memcpy(data, src, size); + memcpy(*data, src, size); /* * Another problem here. What does this help us? At this point we have |