summaryrefslogtreecommitdiff
path: root/third_party/libtiff/0009-HeapBufferOverflow-PixarLogDecode.patch
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/libtiff/0009-HeapBufferOverflow-PixarLogDecode.patch')
-rw-r--r--third_party/libtiff/0009-HeapBufferOverflow-PixarLogDecode.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/libtiff/0009-HeapBufferOverflow-PixarLogDecode.patch b/third_party/libtiff/0009-HeapBufferOverflow-PixarLogDecode.patch
index 745da03d80..57dbe2efb7 100644
--- a/third_party/libtiff/0009-HeapBufferOverflow-PixarLogDecode.patch
+++ b/third_party/libtiff/0009-HeapBufferOverflow-PixarLogDecode.patch
@@ -23,7 +23,7 @@ index b93b4c7..0674fa4 100644
return (0);
}
+ /* Check that we will not fill more than what was allocated */
-+ if (sp->stream.avail_out > sp->tbuf_size)
++ if ((tmsize_t)sp->stream.avail_out > sp->tbuf_size)
+ {
+ TIFFErrorExt(tif->tif_clientdata, module, "sp->stream.avail_out > sp->tbuf_size");
+ return (0);