[Tracker] Fix for segfault



Hello there.

With the new tracker I always encountered a segfault with some db code.

   tracker_db_get_field_def

can return NULL but

   tracker_metadata_is_date

in src/trackerd/tracker-db.c:591 dereferences a field in this
structure w/o checking for NULL.


Rgds, Marcus

Attachment: fix_no_field_def_segfault.patch
Description: Text Data



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]