Skip to content

Fix crash when font server connection lost

Peter Harris requested to merge peterh/libxfont:master into master

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 pharris@opentext.com

Merge request reports

Loading