1. 05 Jan, 2023 1 commit
  2. 31 Dec, 2022 1 commit
  3. 03 Dec, 2022 6 commits
  4. 29 Nov, 2022 1 commit
  5. 27 Nov, 2022 5 commits
  6. 11 Nov, 2022 2 commits
  7. 10 Nov, 2022 4 commits
  8. 09 Nov, 2022 2 commits
  9. 05 Nov, 2022 5 commits
  10. 12 Oct, 2022 1 commit
  11. 07 Oct, 2022 1 commit
  12. 09 Sep, 2022 4 commits
  13. 08 Sep, 2022 3 commits
  14. 02 Sep, 2022 1 commit
  15. 23 Aug, 2022 1 commit
  16. 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 pwmt/zathura!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