Sanity check that count is <1024 and also use g_try_malloc so that we can
authorJeffrey Stedfast <fejj@ximian.com>
Thu, 11 Mar 2004 21:24:20 +0000 (21:24 +0000)
committerJeffrey Stedfast <fejj@src.gnome.org>
Thu, 11 Mar 2004 21:24:20 +0000 (21:24 +0000)
commite17cb6223222ff82d538cc4405905569e1f32e98
tree312c32943ee31bd5411eeb8effe8024624a8137c
parent7e61ecf84b1bf1a0b8cc018ac4890370982aaa98
Sanity check that count is <1024 and also use g_try_malloc so that we can

2004-03-11  Jeffrey Stedfast  <fejj@ximian.com>

* camel-object.c (cobject_state_read): Sanity check that count is
<1024 and also use g_try_malloc so that we can recover if malloc
fails.
camel/ChangeLog
camel/camel-object.c