* fix: use vector::at() rather than operator[] (#1735) * Regression test for https://github.com/Exiv2/exiv2/issues/1706 * Use vector::at() rather than operator[]. * Print to stderr when exception is caught and EXIV2_DEBUG_MESSAGES is enabled. * Check that it prints "Bad value" for the date. (cherry picked from commit f4d3adbf91e6dc4e34aee5bac7b7fd9e127a5c00) # Conflicts: # src/value.cpp * fix merge conflicts from mergify backport Co-authored-by: Kevin Backhouse <kevinbackhouse@github.com> Co-authored-by: Christoph Hasse <hassec@users.noreply.github.com>
56 KiB
56 KiB