Skip to content
Commit 10180af3 authored by Peter Bigot's avatar Peter Bigot Committed by Anas Nashif
Browse files

lib: cbprintf: avoid referencing distinct union fields in a statement



An assignment from one multi-word union field to another was not safe
from corruption.  Copy the value out to a local value before storing it
to the preferred union field.

Signed-off-by: default avatarPeter Bigot <peter.bigot@nordicsemi.no>
parent 0129dd6f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment