On Tue, Dec 17, 2013 at 06:58:12AM -0400, Anderson Lizardo wrote: > Hi Alexander, > > On Tue, Dec 17, 2013 at 6:32 AM, Alexander Aring <alex.ar...@gmail.com> wrote: > > Sometimes a nullpointer dereferencing occurs because of using a wrong > > pointer arithmetic in udp_uncompression. > > > > This patch changes "**(hc06_ptr + 3)" to the right one "*(*hc06_ptr + > > 3)". Dereferencing like "**(hc06_ptr + 3)" works in a random case only. > > And why not use hc06_ptr[0][3] ? IMHO it is more readable and the > arithmetic is the same (as far as I know). >
mhh maybe we change it to *hc06_ptr[3] ? Otherwise we have always something like [0][#] for access. - Alex ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ Linux-zigbee-devel mailing list Linux-zigbee-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel