On 04/09/2014 01:57 PM, Mark Wielaard wrote:

+           /* Check for unsigned overflow so malloc always allocated
+              enough memory for both the Elf_Data header and the
+              uncompressed section data.  */
+           if (unlikely (sizeof (Elf_Data) + size < size))
+             break;
+

Looks good to me.

--
Florian Weimer / Red Hat Product Security Team

Reply via email to