From: David Reitter <[email-masked]>
Date: Wed, 27 May 2009 15:56:55 -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.