Re: [RFC PATCH 3/4] xen/arm: initialize conditionally uninitialized local variables

2023-07-20 Thread Nicola Vetrini
On 19/07/23 16:06, Julien Grall wrote: Hi, On 19/07/2023 14:27, Nicola Vetrini wrote: On 14/07/23 15:21, Julien Grall wrote: Hi, On 14/07/2023 12:49, Nicola Vetrini wrote: This patch aims to fix some occurrences of possibly uninitialized variables, that may be read before being written.

Re: [RFC PATCH 3/4] xen/arm: initialize conditionally uninitialized local variables

2023-07-19 Thread Julien Grall
Hi, On 19/07/2023 14:27, Nicola Vetrini wrote: On 14/07/23 15:21, Julien Grall wrote: Hi, On 14/07/2023 12:49, Nicola Vetrini wrote: This patch aims to fix some occurrences of possibly uninitialized variables, that may be read before being written. This behaviour would violate MISRA C:2012

Re: [RFC PATCH 3/4] xen/arm: initialize conditionally uninitialized local variables

2023-07-19 Thread Nicola Vetrini
Sorry for the late reply. On 14/07/23 15:21, Julien Grall wrote: Hi, On 14/07/2023 12:49, Nicola Vetrini wrote: This patch aims to fix some occurrences of possibly uninitialized variables, that may be read before being written. This behaviour would violate MISRA C:2012 Rule 9.1, besides being

Re: [RFC PATCH 3/4] xen/arm: initialize conditionally uninitialized local variables

2023-07-14 Thread Julien Grall
Hi, On 14/07/2023 12:49, Nicola Vetrini wrote: This patch aims to fix some occurrences of possibly uninitialized variables, that may be read before being written. This behaviour would violate MISRA C:2012 Rule 9.1, besides being generally undesirable. In all the analyzed cases, such accesses

[RFC PATCH 3/4] xen/arm: initialize conditionally uninitialized local variables

2023-07-14 Thread Nicola Vetrini
This patch aims to fix some occurrences of possibly uninitialized variables, that may be read before being written. This behaviour would violate MISRA C:2012 Rule 9.1, besides being generally undesirable. In all the analyzed cases, such accesses were actually safe, but it's quite difficult to