Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test #7

Closed
wants to merge 458 commits into from
Closed

test #7

wants to merge 458 commits into from

Conversation

kevinbackhouse
Copy link
Owner

No description provided.

mohamedchebbii and others added 30 commits March 3, 2023 17:04
…erflow

Fix integer overflow which enables enforce to be bypassed
printLensSpecification is copied from old Nikon3MakerNote::print0x0084
call of Nikon3MakerNote::print0x0084 replaced by printLensSpecification

add two lens tags to EasyAccess API
Exif.Photo.LensSpecification and Exif.Nikon3.Lens

handling of zero; more precision for focal length

silence compiler warnings
Signed-off-by: Rosen Penev <[email protected]>
Signed-off-by: Rosen Penev <[email protected]>
…Photo.LensSpecification

Interpretation for Exif.Photo.LensSpecification
Fix dllexport/import mismatch. Fixes MSVC/MinGW warnings.

Signed-off-by: Rosen Penev <[email protected]>
Signed-off-by: Rosen Penev <[email protected]>
github CI: update conan
…ointer-deref

Check that the pointer isn't NULL
More efficient

Signed-off-by: Rosen Penev <[email protected]>
Minor refactorings to stop UBSAN from complaining
Potentially more warnings

Signed-off-by: Rosen Penev <[email protected]>
sys headers must come before libprocstat

meson is missing a libprocstat dependency. iconv is also broken with
meson and freebsd.

Signed-off-by: Rosen Penev <[email protected]>
Signed-off-by: Rosen Penev <[email protected]>
Signed-off-by: Rosen Penev <[email protected]>
pinotree and others added 29 commits November 12, 2023 18:31
The OutputTagExtract test case for tiff_test runs exiv2 two times,
with "-pa" and "-pS", and parses their outputs. To know which output to
parse, it checks for "-pa" and "-pS" in the string of the command being
run; considering that the command string contains the full path to the
test data, which is a subdirectory of the sources, this means that a
wrong parser will be used in case the full source path contains any of
"-pa" or "-pS" (e.g. "/build/some-path/exiv2/...").

Cheap fix for this: since "-pa"/"-pS" are options in the command string,
check for them using spaces around.

(cherry picked from commit 5f4ffdd)
(cherry picked from commit 4232888)

# Conflicts:
#	src/canonmn_int.cpp
(cherry picked from commit f551534)
Signed-off-by: Rosen Penev <[email protected]>
(cherry picked from commit 3f08319)
Commit a8c3455 and
commit eb05551 changed the target of
the exiv2 library ("exiv2lib"), exporting it in the "Exiv2" namespace,
so making it usable as "Exiv2::exiv2lib" instead. An ALIAS to "exiv2lib"
was added, however cmake does not install or export ALIAS targets [1].

Hence, restore compatibility with the existing cmake users of exiv2:
manually create an ALIAS target in the cmake config files after all the
targets are loaded and checked.

[1] https://cmake.org/cmake/help/latest/command/add_library.html

(cherry picked from commit 130064d)
The first 5 bytes of the CanonLe block give the serial number when
converted to hexadecimal. This PR also fixes bug 2138 as it stops
the 30 byte length of the block being truncated to a multiple of 4
bytes.

Signed-off-by: Jim Easterbrook <[email protected]>
All of them have all-zero serial numbers, so they aren't testing this
PR directly.

Signed-off-by: Jim Easterbrook <[email protected]>
Signed-off-by: Jim Easterbrook <[email protected]>
This is what has been causing corruption in my file writing by reducing
the block from 30 bytes to 28, offsetting subsequent data by two bytes.

Signed-off-by: Jim Easterbrook <[email protected]>
(cherry picked from commit 4b3ce1d)

# Conflicts:
#	src/canonmn_int.cpp
(cherry picked from commit 724b7f8)

# Conflicts:
#	src/canonmn_int.cpp
(cherry picked from commit 349c1f2)
(cherry picked from commit e163ead)
Signed-off-by: Rosen Penev <[email protected]>
(cherry picked from commit 2d7814b)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.