GNU bug report logs - #2542
NS: crash when setting face background colors

Previous Next

Packages: ns, emacs;

Reported by: David Reitter <david.reitter <at> gmail.com>

Date: Mon, 2 Mar 2009 18:50:03 UTC

Severity: normal

Done: David Reitter <david.reitter <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: David Reitter <david.reitter <at> gmail.com>
To: 2542 <at> debbugs.gnu.org
Subject: bug#2542: 
Date: Wed, 27 May 2009 16:47:00 -0400
Bugs 2377 and 2542 are probably the same.

Emacs (under NS) crashes whenever an unknown color name is used.
ns_lookup_indexed_color is called with index 0, which isn't in the  
array, leading to the crash.
It's also called a few times with an unusually large index; not sure  
if that's also a bug.



This bug report was last modified 15 years and 242 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.