Re: [Tracker] Segfault in email parsing



Laurent Aguerreche <laurent aguerreche free fr> writes:


I've found!

In tracker-db-email.c, a variable (mail_store) was not initialised to
NULL in tracker_db_email_get_mbox_details(). Plus we should use G_SLICE
to allocate memory, so new code :
[...]
I do not send a patch because my code is too different from SVN
currently to directly do a patch  :-)


Changing the code as you did plus a mail_store = NULL added causes the
same segfault.  SVN HEAD (r610) which essentially is your code
plus some refactoring, segfaults too.

     Eric



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