mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
f01a179abc
>>> CID 1539212: Control flow issues (NO_EFFECT) >>> This greater-than-or-equal-to-zero comparison of an unsigned value is always true. "p >= 0UL". 216 while (p >= 0 && output[p] == '\n') { This is a real problem in the unlikely event that the output contains only newlines. Fix the issue by using a pointer and add a test to cover this case. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15438 Signed-off-by: Martin Schwenke <mschwenke@ddn.com> Reviewed-by: Amitay Isaacs <amitay@gmail.com> |
||
---|---|---|
.. | ||
event_client.c | ||
event_cmd.c | ||
event_conf.c | ||
event_conf.h | ||
event_config.c | ||
event_context.c | ||
event_daemon.c | ||
event_private.h | ||
event_protocol_api.h | ||
event_protocol_test.c | ||
event_protocol_util.c | ||
event_protocol.c | ||
event_protocol.h | ||
event_request.c | ||
event_tool.c | ||
event_tool.h | ||
event.h |