On Tue, Jun 30, 2009 at 04:23:54PM +0100, Peter Dennis - Sustaining Engineer 
wrote:

> The issue is that some binaries have a .dynamic section but no
> .SUNW_version section. This means that during the getdynamic()
> function the .dynamic section is found and the associated "deps"
> list is populated. However as no .SUNW_version is found then no
> corresponding "vers" list is populated.
> 
> This then means in the pythonify_2dliblist_cb() it attempts
> to 'process' the empty vers list.

Ah, that's the key.  I was looking in getdynamic() in elfextract.c, and the
only place liblist_foreach() was called there passed deps in as the first
argument.  But that's not the stack that's involved here.

> Does that help (I'll update the bug with this if it is clearer) ?

Please note the call stack as best you can, but you now have my +1 on this
fix.

Thanks,
Danek
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to