Re: [PATCH v2 11/11] ext4: access to uninitialized bh fields in ext4_xattr_set_handle()

From: Vasily Averin
Date: Tue Oct 30 2018 - 23:39:27 EST


On 10/31/2018 04:30 AM, Andreas Dilger wrote:
> Could you please explain your statement below that on-stack
> initialization does not zero unspecified fields? ÂAccordingÂ
> to documents I found, for example:
>
> https://gcc.gnu.org/onlinedocs/gcc/Designated-Inits.html
>
> they *are* initialized to zero.Â

I did not know it,
I re-checked it in generated assembler code and found that you are right and I was wrong.

Please drop this patch,
should I resend of rest of this patch set once again?

Thank you,
Vasily Averin