Avoid rare segfaults in 'combine_updates_for_frame'
* src/xdisp.c (redisplay_internal): Don't add to 'tty_root_frames' frames that are not yet completely made. (Bug#77046)
This commit is contained in:
parent
db0bed7a68
commit
412a6fad98
1 changed files with 4 additions and 1 deletions
|
@ -17569,7 +17569,10 @@ redisplay_internal (void)
|
|||
if (is_tty_frame (f))
|
||||
{
|
||||
/* Ignore all invisible tty frames, children or root. */
|
||||
if (!frame_redisplay_p (f))
|
||||
if (!frame_redisplay_p (f)
|
||||
/* Ignore frames not yet completely made, which we
|
||||
cannot safely redisplay. */
|
||||
|| !f->after_make_frame)
|
||||
continue;
|
||||
|
||||
/* Remember tty root frames which we've seen. */
|
||||
|
|
Loading…
Add table
Reference in a new issue