Skip to content

Commit

Permalink
2007-12-14 Lutz Mueller <lutz@users.sourceforge.net>
Browse files Browse the repository at this point in the history
	Bug pointed out by Meder Kydyraliev, Google Security Team:

	* libexif/exif-loader.c: (exif_loader_write) Ignore buffers of
	zero length.
  • Loading branch information
Lutz Mueller committed Dec 14, 2007
1 parent 930023d commit f885d85
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ChangeLog
@@ -1,3 +1,10 @@
2007-12-14 Lutz Mueller <lutz@users.sourceforge.net>

Bug pointed out by Meder Kydyraliev, Google Security Team:

* libexif/exif-loader.c: (exif_loader_write) Ignore buffers of
zero length.

2007-12-07 Jan Patera <patera@users.sourceforge.net>

* Added support for Fuji makernotes
Expand Down
2 changes: 2 additions & 0 deletions libexif/exif-loader.c
Expand Up @@ -176,6 +176,8 @@ exif_loader_write (ExifLoader *eld, unsigned char *buf, unsigned int len)
break;
}

if (!len)
return 1;
exif_log (eld->log, EXIF_LOG_CODE_DEBUG, "ExifLoader",
"Scanning %i byte(s) of data...", len);

Expand Down

0 comments on commit f885d85

Please sign in to comment.