1. 19 Jan, 2016 1 commit
  2. 10 Dec, 2015 1 commit
  3. 30 Oct, 2015 2 commits
  4. 23 Oct, 2015 1 commit
    • Marius Gedminas's avatar
      Fix buffer overrun in libunistring builds · 7a5af2ec
      Marius Gedminas authored and Carlos Garnacho's avatar Carlos Garnacho committed
      libunistring uses UTF-8 strings without a trailing NUL byte.  We're
      passing such strings to tracker_parser_unaccent_nfkd_string() from
      function_sparql_unaccent() in the sqlite interface.  If the string has
      no accented characters, writing a NUL byte at the end will step out of
      bounds.  This causes memory corruption and crashes.
      The other caller of tracker_parser_unaccent_nfkd_string() is
      process_word_utf8(), and it looks like it wants a trailing NUL, so let's
      add it there.
      There are no more callers of the libunistring version of
      (For extra confusion, the libicu version of
      tracker_parser_unaccent_nfkd_string() deals with U+0000-terminated
      UTF-16 strings.)
      Should fix https://bugzilla.gnome.org/show_bug.cgi?id=746195
  5. 21 Oct, 2015 1 commit
  6. 20 Oct, 2015 2 commits
  7. 09 Apr, 2015 3 commits
  8. 13 Jan, 2015 1 commit
    • Debarshi Ray's avatar
      libtracker-miner: Restrict the amount of data that is logged for errors · f0e29525
      Debarshi Ray authored
      SPARQL update strings can be very long if the entire text of a document
      is being stored. Dumping these huge strings to the log eats up disk
      space and makes them harder to follow.
      However, often, the occurence of such an error indicates a broken
      extractor. In those cases, knowing part of the SPARQL can help in
      identifying the file that triggered the error.
      Usually the "nie:plainTextContent" property is the last one in the
      string, so we truncate the error messages at the first occurance of
      this property to achieve the best of both worlds.
  9. 29 Dec, 2014 2 commits
  10. 20 Dec, 2014 2 commits
  11. 10 Dec, 2014 10 commits
  12. 06 Nov, 2014 1 commit
  13. 17 Oct, 2014 3 commits
    • Sam Thursfield's avatar
      tracker-writeback: Remove broken code to set file attributes · 7e886312
      Sam Thursfield authored
      Remove some code which tries to set attributes of a file which no
      longer exists.
      This code was added in the following commit:
          commit 16fe51de
          Author: Philip Van Hoof <philip@codeminded.be>
          Date:   Wed Nov 9 12:56:59 2011 +0100
              tracker-writeback: Preserve file permissions
              Fixes NB#289953.
      Seems that the intent was to preserve the permission bits of the
      file after tracker-writeback rewrites it. The code already takes
      care of this at the time the temporary file is created.
    • Martyn Russell's avatar
      libtracker-miner: _NO_STAT breaks in FileNotifier without a GFileInfo · 63cc513f
      Martyn Russell authored
      GFileInfo is ABSOLUTELY required in the Crawler, without it the
      TrackerFileNotifier will that top level roots have been deleted because the
      GFileInfo GQuark does not exist.
      This is seen easily by mounting a removable device, indexing, then removing,
      then re-inserting that same device.
      The check is done later in the TrackerFileNotifier by looking up the qdata
      that we set in both conditions below.
    • Martyn Russell's avatar
      libtracker-miner: Handle multiple nfo:belongsToContainer properties to 1 nie:url · f6ca44fd
      Martyn Russell authored
      Previously we've expected this to be a 1:1 relationship, but it's not always
      the case with data containers
  14. 14 Oct, 2014 2 commits
  15. 13 Oct, 2014 3 commits
  16. 24 Sep, 2014 2 commits
  17. 22 Sep, 2014 1 commit
  18. 19 Sep, 2014 2 commits