URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=7398cea6e16413146eab84fab1cfced8c5deabed
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.6
Repository: wireshark
Commits:
7398cea by Guy Harris (guy@xxxxxxxxxxxx):
Fix some "bad file" messages.
The number being compared against is the amount of data *remaining* in
the comment information, not the *size* of the comment information.
And it's unsigned, so format it with %u.
Change-Id: I5f02302ad4acbc3b27655ff5518e6e56d464020d
Reviewed-on: https://code.wireshark.org/review/28280
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
(cherry picked from commit 1e84591f4f07dc712bee9be3a33508a5510bb357)
Reviewed-on: https://code.wireshark.org/review/28281
Actions performed:
from 1474ca9 No need to check for a UTF-16 string's length being a multiple of 2.
adds 7398cea Fix some "bad file" messages.
Summary of changes:
wiretap/netmon.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)