Re: [PATCH] net: Fix uninitialized data usage

2022-01-06 Thread Jason Wang
On Fri, Jan 7, 2022 at 3:44 AM Philippe Mathieu-Daudé wrote: > > On 6/1/22 19:28, Patrick Venture wrote: > > From: Peter Foley > > > > e.g. > > 1109 15:16:20.151506 Uninitialized bytes in ioctl_common_pre at offset 0 > > inside [0x7ffc516af9b8, 4) > > 1109 15:16:20.151659 ==588974==WARNING: Me

Re: [PATCH] net: Fix uninitialized data usage

2022-01-06 Thread Peter Foley
Yeah, but this same pattern is used elsewhere in the file, so I went with being consistent. On Thu, Jan 6, 2022, 2:44 PM Philippe Mathieu-Daudé wrote: > On 6/1/22 19:28, Patrick Venture wrote: > > From: Peter Foley > > > > e.g. > > 1109 15:16:20.151506 Uninitialized bytes in ioctl_common_pre at

Re: [PATCH] net: Fix uninitialized data usage

2022-01-06 Thread Philippe Mathieu-Daudé
On 6/1/22 19:28, Patrick Venture wrote: From: Peter Foley e.g. 1109 15:16:20.151506 Uninitialized bytes in ioctl_common_pre at offset 0 inside [0x7ffc516af9b8, 4) 1109 15:16:20.151659 ==588974==WARNING: MemorySanitizer: use-of-uninitialized-value 1109 15:16:20.312923 #0 0x5639b88acb21

[PATCH] net: Fix uninitialized data usage

2022-01-06 Thread Patrick Venture
From: Peter Foley e.g. 1109 15:16:20.151506 Uninitialized bytes in ioctl_common_pre at offset 0 inside [0x7ffc516af9b8, 4) 1109 15:16:20.151659 ==588974==WARNING: MemorySanitizer: use-of-uninitialized-value 1109 15:16:20.312923 #0 0x5639b88acb21 in tap_probe_vnet_hdr_len third_party/qemu