[L2Ork-dev] request for mentorship: fix for undefined behavior with $@ parsing

Jonathan Wilkes jancsika at yahoo.com
Thu Aug 24 02:24:27 UTC 2017


Hi list,For anyone who understands unions, type punning, and 
undefined behavior in C, please have a look at thefollowing bugfix branch:https://git.purrdata.net/jwilkes/purr-data/pipelines/968
An explanation is in the commit message.
This _should_ fix about a zillion errors reported by 
valgrind for systems where sizeof(void*) exceeds 
sizeof(int).
There's also the issue of whether the check in 
binbuf_eval for "$@" is causing any noticeable 
performance hits, but I haven't tried measuring that.
Best,Jonathan



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://disis.music.vt.edu/pipermail/l2ork-dev/attachments/20170824/e9b0ed7c/attachment.html>


More information about the L2Ork-dev mailing list