1. 02 Aug, 2021 1 commit
  2. 14 Jul, 2021 1 commit
    • Alexander Richardson's avatar
      Fix out-of-bounds read in FontFileMakeDir() · daff8876
      Alexander Richardson authored
      BuiltinReadDirectory() calls FontFileMakeDir ("", builtin_dir_count); and
      this causes the `dirName[dirlen - 1]` access to read before the start of
      the string. I found this while porting Xvnc to CHERI-RISC-V (which has
      bounds and permissions on all pointers).
      daff8876
  3. 12 Jun, 2021 1 commit
  4. 02 Mar, 2021 1 commit
    • Peter Harris's avatar
      Fix use after free when font server connection lost · 9529d235
      Peter Harris authored
      
      
      If there are multiple blocks waiting for the same font, only one of them
      will have ->freeFont set. The rest will be in a state of FS_DEPENDING.
      
      If the font server dies before the font finishes opening, the block with
      ->freeFont set will call ->unload_font, invalidating the pfont pointers
      in the remaining FS_DEPENDING blocks.
      
      Avoid a use after free (and potential crash) by passing conn to
      fs_cleanup_font instead of dereferencing pfont to find the conn.
      Signed-off-by: Peter Harris's avatarPeter Harris <pharris@opentext.com>
      9529d235
  5. 06 Mar, 2020 1 commit
    • Peter Harris's avatar
      Fix crash when font server connection lost · e7b2cae1
      Peter Harris authored
      
      
      Always initialize the return value of fs_new_block_rec. Even if the
      conn->blockState is FS_BROKEN_CONNECTION | FS_RECONNECTING, we must not
      return with an uninitialized blockrec on the block list. When the
      blockrec times out, _fs_clean_aborted_blockrec calls fs_cleanup_bfont,
      which will try to follow pointers in the blockrec (which has not been
      initialized).
      Signed-off-by: Peter Harris's avatarPeter Harris <pharris@opentext.com>
      e7b2cae1
  6. 25 Oct, 2019 1 commit
  7. 16 Sep, 2019 1 commit
    • Adam Jackson's avatar
      README: Remove mention of libXfont 1.5 · 13ebb8f3
      Adam Jackson authored
      xfs was ported to libXfont2 in release 1.2, and bdftopcf 1.1 includes a
      copy of enough of the old libXfont1 code to not need an external
      libXfont at all.
      13ebb8f3
  8. 14 Sep, 2019 2 commits
  9. 17 Aug, 2019 5 commits
  10. 04 Aug, 2019 6 commits
  11. 03 Aug, 2019 1 commit
    • Alan Coopersmith's avatar
      Add some unit testing utilities · c4ed2e06
      Alan Coopersmith authored
      
      
      The test/utils directory contains some standalone test programs for testing
      libXfont funtionality without needing a full X server session.  They could
      be used to generate automated unit testing in the future, but that work has
      not yet been done.
      
      [v2: updated original work from libXfont 1.5 to 2.0 API & makefiles]
      Signed-off-by: Alan Coopersmith's avatarAlan Coopersmith <alan.coopersmith@oracle.com>
      c4ed2e06
  12. 14 May, 2019 1 commit
  13. 16 Mar, 2019 1 commit
  14. 20 Nov, 2018 1 commit
  15. 25 Mar, 2018 1 commit
  16. 25 Nov, 2017 2 commits
  17. 11 Oct, 2017 1 commit
  18. 04 Oct, 2017 2 commits
  19. 27 Apr, 2017 1 commit
  20. 26 Jan, 2017 2 commits
  21. 10 Jun, 2016 2 commits
  22. 08 Jun, 2016 1 commit
  23. 30 May, 2016 4 commits