Re: [Libusbx-devel] list_entry() macro null deref

2012-10-02 Thread Sean McBride
On Mon, 1 Oct 2012 22:11:21 +0100, Pete Batard said: >I fear that this one will fall through if we don't have an issue for it, >so I logged https://github.com/libusbx/libusbx/issues/53 > >Please don't hesitate to use the issue reporting feature from github, >for code improvements, as it should h

Re: [Libusbx-devel] list_entry() macro null deref

2012-10-01 Thread Pete Batard
Hi Sean, I fear that this one will fall through if we don't have an issue for it, so I logged https://github.com/libusbx/libusbx/issues/53 Please don't hesitate to use the issue reporting feature from github, for code improvements, as it should help ensure they find their way into a release.

[Libusbx-devel] list_entry() macro null deref

2012-09-30 Thread Sean McBride
Hi all, libusbx's "list_entry" macro seems to do exactly what is described here: In particular, "it has undefined behavior according to the C standard, since it involves a dereference of a null pointer". After building libusbx with clang and -fcatch-unde