Menu

#5 Return error instead of segfaulting in lff_single() due to missing fonts.

Unstable (example)
closed
None
5
2020-11-01
2020-10-30
No

In some cases when fonts are present locally but are not present in the fontpath (in the case I saw that was due to X running on a Windows server and the directory with the font was refused from the font patch) x3270 can crash due to a segfault caused by XLoadQueryFont() returning NULL in lff_single().

The attached patch makes lff_single() return an error message instead in such a case instead of just segfaulting.

1 Attachments

Discussion

  • Paul Mattes

    Paul Mattes - 2020-10-30

    I will get this checked in ASAP -- thank you!

     
  • Paul Mattes

    Paul Mattes - 2020-11-01
    • status: open --> closed
     

Log in to post a comment.