qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 1/3] arm: check bit index before use


From: P J P
Subject: Re: [Qemu-devel] [PATCH 1/3] arm: check bit index before use
Date: Mon, 22 Oct 2018 23:44:13 +0530 (IST)

+-- On Mon, 22 Oct 2018, liqsub1 wrote --+
| +        if (bit < sizeof(s->handler) / sizeof(s->handler[0])) { 
| 
| Maybe you can use ARRAY_SIZE here.

Yes, sent patch v1.

Thank you.
--
Prasad J Pandit / Red Hat Product Security Team
47AF CE69 3A90 54AA 9045 1053 DD13 3D32 FE5B 041F



reply via email to

[Prev in Thread] Current Thread [Next in Thread]