Clarifications on the D-Bus specification
remi at remlab.net
Fri Dec 10 10:48:06 PST 2010
On Fri, 10 Dec 2010 13:33:10 -0500, Havoc Pennington <hp at pobox.com> wrote:
> In a quick look I don't see any limit in the libdbus source on
> recursing into nested types. The limit is just on the "depth" of the
> type signature, which does not reflect dynamic type recursion as
> created by variants.
> It could probably be fixed by tracking the recursion depth in the
> iterators. But the API probably doesn't allow throwing an error from
> the right functions. So it could be tricky.
I am a bit concerned here. Unlimited recursion might trigger a call stack
overflow somewhere (I do mean proper stack overflow, not stack-based buffer
More information about the dbus