Hi, On Sun, Feb 21, 2016 at 10:06:10AM +0100, Wolfram Sang wrote: > We want the size of the struct, not of a pointer to the struct. And to > be absolutely future proof, dereference the pointer we are assigning the > memory to (not the one we are copying the data from). Found by Coverity, > CID 50858.
Merged, thanks a lot! Uwe. -- http://hermann-uwe.de | http://randomprojects.org | http://sigrok.org ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ sigrok-devel mailing list sigrok-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sigrok-devel