After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 621892 - Crash when looking for printer drivers
Crash when looking for printer drivers
Status: RESOLVED FIXED
Product: gnome-packagekit
Classification: Core
Component: general
2.30.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-packagekit-maint
gnome-packagekit-maint
Depends on:
Blocks:
 
 
Reported: 2010-06-17 14:22 UTC by Vincent Untz
Modified: 2010-06-17 14:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add a NULL item after g_renew() (506 bytes, patch)
2010-06-17 14:22 UTC, Vincent Untz
committed Details | Review

Description Vincent Untz 2010-06-17 14:22:09 UTC
When adding a printer with system-config-printer, gpk-dbus-service crashes. That's happening because we're creating a gchar ** variable that is supposed to end with NULL, except that we forget to add a NULL at the end. See the patch.
Comment 1 Vincent Untz 2010-06-17 14:22:58 UTC
Created attachment 163919 [details] [review]
Add a NULL item after g_renew()
Comment 2 Vincent Untz 2010-06-17 14:27:24 UTC
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.