Commit Graph

7 Commits

Author SHA1 Message Date
Martin Mathieson b809e73f7c Fix some spelling errors 2022-08-19 17:46:34 +01:00
John Thacker b3c7c31124 tiff(file): Don't add a proto item when heuristics fail
Don't add the protocol to the tree if heuristics fail.
Make sure that we have enough bytes to perform the heuristics.
If the magic number is wrong, don't go on to retrieve the ifd offset.
2022-08-17 07:52:39 +00:00
Alexis La Goutte e1c754262f tiff(file): Fix -Wmissing-prototypes warning
file-tiff.c:840:1: warning: no previous prototype for function 'proto_register_tiff' [-Wmissing-prototypes]
file-tiff.c:1143:1: warning: no previous prototype for function 'proto_reg_handoff_tiff' [-Wmissing-prototypes]
2021-09-18 07:21:36 +00:00
Alexis La Goutte a5494200c6 tiff: Fix Dead Store found by Clang Analyzer
file-tiff.c:794:5: warning: Value stored to 'offset' is never read [deadcode.DeadStores]
2021-09-06 04:21:15 +00:00
Guy Harris 5d053016c4 Remove a byte-order mark from two files.
Fixes #17440.
2021-06-10 21:33:08 -07:00
Martin Mathieson 7e2bc903cd Make some functions and vars static 2021-05-26 17:30:52 +00:00
Daniel Dulaney e35efdee8d TIFF: Add a basic TIFF dissector 2021-04-24 10:42:59 +00:00