]> git.eshelyaron.com Git - emacs.git/commit
Don't have exif bugging out on short strings
authorLars Ingebrigtsen <larsi@gnus.org>
Thu, 19 Mar 2020 15:15:04 +0000 (16:15 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 19 Mar 2020 15:15:24 +0000 (16:15 +0100)
commit0128375a50352720c626fd915312a5c38762d09a
tree4b9ebf701674a837c7f523c13c9001dca8dbabc3
parentd98afc1019d9f177dd05042371dd8239b7901d47
Don't have exif bugging out on short strings

* lisp/image/exif.el (exif--direct-ascii-value): New function
(bug#40127).
(exif--parse-directory): Use it to get the correct values for
in-directory (i.e., shorter than 4 octets) strings.
lisp/image/exif.el
test/data/image/black-short.jpg [new file with mode: 0644]
test/lisp/image/exif-tests.el