+2
−1
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
The assignment to pos when rb is finally NULL is undefined behaviour. Upon seeing that assignment, GCC may assume that rb is not NULL, and the loop condition ``rb'' may be optimised away. Signed-off-by:Phil Carmody <ext-phil.2.carmody@nokia.com> Signed-off-by:
Artem Bityutskiy <Artem.Bityutskiy@nokia.com>