On Fri, Jan 28, 2022 at 04:01:36PM +0100, Dumitru Ceara via Gcc-help wrote: > void *l4data = p.l4_ofs != UINT16_MAX ? (char *) p.base_ + p.l4_ofs : NULL; > struct hdr2 *h2 = l4data; > > memcpy(h2 + 1, &somedata[0], 6); l4data can be 0, and everything false apart from there on. Segher