! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Dereference of null pointer at cb_image_uploaded
Status:
RESOLVED: INVALID
Product:
Xfce4-screenshooter
Component:
General

Comments

Description Andre Miranda editbugs 2017-06-27 03:57:56 CEST
As pointed out by foutrelis:
lib/screenshooter-job-callbacks.c:397:16: warning: Dereference of null pointer (loaded from variable 'last_user')
*last_user = g_strdup (last_user_temp); 

His suggestions are:
1) https://paste.xinu.at/lPS/
2) https://paste.xinu.at/uVuglo/

The first one just avoids to deference an invalid pointer while the second seems one tackles the problem more properly.
All in all, both suggestions require proper testing.
Comment 1 Andre Miranda editbugs 2019-10-06 22:19:09 CEST
Not a bug anymore since ZimageZ support has been dropped:
https://git.xfce.org/apps/xfce4-screenshooter/commit/?id=5fe8d89

Bug #13691

Reported by:
Andre Miranda
Reported on: 2017-06-27
Last modified on: 2019-10-06

People

Assignee:
Jérôme Guelfucci
CC List:
1 user

Version

Attachments

Additional information