1. 09 Sep, 2022 3 commits
  2. 08 Sep, 2022 3 commits
  3. 02 Sep, 2022 1 commit
  4. 23 Aug, 2022 1 commit
  5. 20 Aug, 2022 2 commits
    • Sebastian Ramacher's avatar
      Merge branch 'fix-uninitialized-value' into 'develop' · b76227bb
      Sebastian Ramacher authored
      Fix use of uninitialized value
      
      See merge request !57
      b76227bb
    • Pekka Ristola's avatar
      Fix use of uninitialized value · 41e504a7
      Pekka Ristola authored
      Contents of string `content` are unitialized before copying of `dummy_content`.
      Using `g_strlcat` appends `dummy_content` to the uninitialized junk, and
      by changing that to `strcpy` the uninitialized values aren't used.
      
      Relevant Valgrind error when running zathura with no arguments:
      ```
      ==15845== Conditional jump or move depends on uninitialised value(s)
      ==15845==    at 0x566EB2D: UnknownInlinedFun (gstrfuncs.c:1534)
      ==15845==    by 0x566EB2D: g_strlcat (gstrfuncs.c:1521)
      ==15845==    by 0x12B16D: zathura_db_read_key_file_from_file (database-plain.c:171)
      ==15845==    by 0x12D39D: UnknownInlinedFun (database-plain.c:295)
      ==15845==    by 0x12D39D: plain_set_property (database-plain.c:371)
      ==15845==    by 0x55C17AD: object_set_property (gobject.c:1607)
      ==15845==    by 0x55C1C1C: g_object_new_internal (gobject.c:2047)
      ==15845==    by 0x55C3307: g_object_new_valist (gobject.c:2355)
      ==15845==    by 0x55C383D: g_object_new (gobject.c:1824)
      ==15845==    by 0x117944: UnknownInlinedFun (database-plain.c:226)
      ==15845==    by 0x117944: init_database (zathura.c:373)
      ==15845==    by 0x11B8EA: zathura_init (zathura.c:473)
      ==15845==    by 0x114B99: UnknownInlinedFun (main.c:111)
      ==15845==    by 0x114B99: main (main.c:282)
      ```
      41e504a7
  6. 24 May, 2022 2 commits
  7. 14 May, 2022 2 commits
  8. 13 May, 2022 2 commits
  9. 11 May, 2022 2 commits
  10. 08 May, 2022 11 commits
  11. 07 May, 2022 3 commits
  12. 23 Apr, 2022 1 commit
  13. 17 Apr, 2022 1 commit
  14. 13 Apr, 2022 1 commit
  15. 08 Apr, 2022 1 commit
  16. 03 Apr, 2022 2 commits
  17. 15 Feb, 2022 2 commits