[patch] validate dict entries have two elements (TODO item)

Colin Walters walters at verbum.org
Tue Jun 14 13:27:18 PDT 2005


On Mon, 2005-06-06 at 22:30 -0400, John (J5) Palmieri wrote:

> Validating signatures can now cause OOM errors since I use a stack to
> keep track of the number of elements in each container.  This caused
> the
> tests to fail in a number of cases as we now return
> DBUS_VALIDITY_UNKNOWN_OOM_ERROR when we encounter OOM.  The rest of
> the
> patch is to handle DBUS_VALIDITY_UNKNOWN_OOM_ERROR in places where we
> used to use DBUS_VALID along with a FALSE return value to indicate
> OOM.
> This patch passes make check with flying colors.

Looks good to me.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/dbus/attachments/20050614/afb9e6a4/attachment.pgp


More information about the dbus mailing list