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 777725 - libtracker-miner: Fix use of an uninitialised variable
libtracker-miner: Fix use of an uninitialised variable
Status: RESOLVED FIXED
Product: tracker
Classification: Core
Component: General
unspecified
Other All
: Normal normal
: ---
Assigned To: tracker-general
tracker-general
Depends on:
Blocks:
 
 
Reported: 2017-01-25 00:58 UTC by Philip Withnall
Modified: 2017-01-25 11:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
libtracker-miner: Fix use of an uninitialised variable (1.27 KB, patch)
2017-01-25 00:58 UTC, Philip Withnall
committed Details | Review

Description Philip Withnall 2017-01-25 00:58:03 UTC
Patch attached.
Comment 1 Philip Withnall 2017-01-25 00:58:08 UTC
Created attachment 344194 [details] [review]
libtracker-miner: Fix use of an uninitialised variable

In the error path, finish_current_directory() was called on `notifier`
before it had been initialised.

Coverity CID: 1397952
Comment 2 Carlos Garnacho 2017-01-25 11:02:24 UTC
Comment on attachment 344194 [details] [review]
libtracker-miner: Fix use of an uninitialised variable

Meh, I even missed the compiler warning :). Please go ahead.
Comment 3 Philip Withnall 2017-01-25 11:40:15 UTC
Attachment 344194 [details] pushed as 9d9b2c8 - libtracker-miner: Fix use of an uninitialised variable