[chrony-users] chrony-1.29.1:regress.c:395: Array index 'l' is used before limits check. |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
Hello there,
I recently tried the static analyser cppcheck with the
source code of chrony-1.29.1
It said many things, including
[regress.c:395]: (style) Array index 'l' is used before limits check.
Source code is
while (x[l] < piv && l < v) l++;
Suggest code rework.
Regards
David Binderman
--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.