bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#32038: 27.0.50; Emacs hangs when using :propertize mode line constru


From: Jonathan Kyle Mitchell
Subject: bug#32038: 27.0.50; Emacs hangs when using :propertize mode line construct and not providing a property value
Date: Tue, 03 Jul 2018 22:12:57 -0500
User-agent: mu4e 1.0; emacs 26.1

found 32038 26.1
tags 32038 + patch
quit

I think I found a way to make redisplay ignore any malformed property list by
putting a single check around Fset_text_properties in xdisp.c. The text of the
modeline is still set according to the provided string, but the property list
is ignored if it doesn't have an even number of elements. It doesn't
infinitely loop anymore given a malformed property list.

Attachment: 0001-Verify-plist-is-a-plist-before-use.patch
Description: verify plist before use patch

--
Jonathan Kyle Mitchell

reply via email to

[Prev in Thread] Current Thread [Next in Thread]