Description of problem:
I just tried to compile package zebra-0.93b-1, from Redhat 9.0,
with compiler flag -Wall.
The compiler said
ospf6_route.c:669: warning: operation on `p' may be undefined
ospf6_route.c:681: warning: operation on `p' may be undefined
The source code is
snprintf (p++, line + sizeof (line) - p, " ");
This looks like someone is assuming left to right evaluation order.
This code needs rework.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
This has been fixed in quagga, which replaced zebra in Fedora Core.