Skip to content
代码片段 群组 项目
  1. 3月 01, 2016
  2. 2月 13, 2016
  3. 1月 11, 2016
  4. 12月 10, 2015
  5. 11月 19, 2015
  6. 11月 14, 2015
  7. 10月 30, 2015
  8. 10月 24, 2015
    • Marius Gedminas's avatar
      Fix buffer overrun in libunistring builds · ffffa6ce
      Marius Gedminas 创作于
      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
      tracker_parser_unaccent_nfkd_string().
      
      (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
      ffffa6ce
  9. 10月 21, 2015
  10. 10月 14, 2015
  11. 10月 11, 2015
  12. 10月 07, 2015
  13. 9月 28, 2015
  14. 9月 25, 2015
  15. 9月 22, 2015
  16. 9月 20, 2015
  17. 9月 18, 2015
  18. 9月 13, 2015
  19. 9月 09, 2015
  20. 9月 05, 2015
  21. 9月 02, 2015
加载中