URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=eb75ec1824e374c3b021ccee9e768e63a56de05c
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
eb75ec1 by Jaap Keuter (jaap.keuter@xxxxxxxxx):
Prevent inproper use of negative value
Coverity rightfully complains about inproper use of negative value.
maxlength special value '-1' should be handled appropriately.
Change-Id: Ie1818121e39fa668094d012980016444ca868e6e
Reviewed-on: https://code.wireshark.org/review/13978
Reviewed-by: João Valverde <j@xxxxxx>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
Actions performed:
from 323659d dcerpc: fix Called function pointer is null (null dereference) found by Clang Analyzer
adds eb75ec1 Prevent inproper use of negative value
Summary of changes:
epan/tvbuff.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)