[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v1] kdd: remove zero-length arrays



Am Tue, 9 Jun 2020 14:26:46 +0100
schrieb Ian Jackson <ian.jackson@xxxxxxxxxx>:

>   +    uint8_t payload[];

This compiles, but will access memory behind the union{};, which is most likely 
not what the intention is.

Olaf

Attachment: pgptMvh1kYVA5.pgp
Description: Digitale Signatur von OpenPGP


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.