ANDROID: trusty-log: Sanitize u32 overflow of the log ring buffer write index

Fix the ubsan abort observed when reaching the unsigned
integer overflow of the write index.

Bug: 189783664
Change-Id: I0b1dc9664158ec8af2eabc00af6d33cab50b7ce9
Signed-off-by: Armelle Laine <armellel@google.com>
1 file changed
tree: 1b3c4164b3288cc2d398a5c8ef14f3aa454fc112
  1. Documentation/
  2. drivers/
  3. include/