dsdreamer wrote: > @Triode, > > Not sure if this matters, but in line 100 of jive_debug.c, the author of > the code probably meant to dereference the pointer hd in order to get > the size of the structure rather than the size of the pointer itself. > > Code: -------------------- > > > memset(hd, 0, sizeof(hd)); > -------------------- > > > should probably be changed to: > > Code: -------------------- > > > memset(hd, 0, sizeof(*hd)); > -------------------- > > > > Probably this is how Logitech left it, but still could be worth fixing > in your Git repo?
Will do - did you find anything else..? (I didn't change this, but the memory management around the widget library is all changed as I removed the tolua bindings) ------------------------------------------------------------------------ Triode's Profile: http://forums.slimdevices.com/member.php?userid=17 View this thread: http://forums.slimdevices.com/showthread.php?t=98544 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
