Skip to content

Commit

Permalink
Update src/jpgimage.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Christoph Hasse <hassec@users.noreply.github.com>
  • Loading branch information
kevinbackhouse and hassec authored Jul 25, 2021
1 parent bc32ef0 commit 93d96ad
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/jpgimage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,6 @@ namespace Exiv2 {
// Read the rest of the segment.
DataBuf buf(size);
if (size > 0) {
assert(size >= 2); // enforced above
readOrThrow(*io_, buf.pData_ + 2, size - 2, kerFailedToReadImageData);
memcpy(buf.pData_, sizebuf, 2);
}
Expand Down

0 comments on commit 93d96ad

Please sign in to comment.