Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(183)

Side by Side Diff: third_party/libtiff/0007-uninitialized-value.patch

Issue 2389993002: Fix potentially uninitialized value. (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | third_party/libtiff/README.pdfium » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 diff --git a/third_party/libtiff/tif_dirread.c b/third_party/libtiff/tif_dirread .c
2 index 5ef3264..bc41021 100644
3 --- a/third_party/libtiff/tif_dirread.c
4 +++ b/third_party/libtiff/tif_dirread.c
5 @@ -4443,7 +4443,7 @@ TIFFFetchDirectory(TIFF* tif, uint64 diroff, TIFFDirEntry* * pdir,
6 static const char module[] = "TIFFFetchDirectory";
7
8 void* origdir;
9 - uint16 dircount16;
10 + uint16 dircount16 = 0;
11 uint32 dirsize;
12 TIFFDirEntry* dir;
13 uint8* ma;
OLDNEW
« no previous file with comments | « no previous file | third_party/libtiff/README.pdfium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698