emacs-devel
[Top][All Lists]
Advanced

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

Re: We can use python.el


From: Chong Yidong
Subject: Re: We can use python.el
Date: Mon, 14 May 2007 10:55:40 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

Jason Rumney <address@hidden> writes:

> Richard Stallman wrote:
>>     Shouldn't PBM_MONO benefit from the same kind of check?
>>     Ie, move the check to just after init_color_table, before the if
>>     block.
>>
>> Is there a bug in the case of PBM_MONO?  If so, I guess we should
>> fix it too.  But we could also leave it alone, to be conservative.
>>   
>
> I think the same bug (a malformed pbm file causing Emacs to crash)
> that led to the original change could also affect monochrome images.
> Depending on the parsing code, it could also affect ASCII formatted
> pnm files, but the fix for that is not as obvious as checking the
> length before parsing.

I checked in a fix into the trunk (I haven't been able to test this,
because I don't know how to create a malformed pbm, but redisplay of
valid pbms seems to work.)




reply via email to

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