workaround [#27203] Crashes with some high-res image thumbnail generation
authorCampbell Barton <ideasman42@gmail.com>
Mon, 2 May 2011 10:22:49 +0000 (10:22 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 2 May 2011 10:22:49 +0000 (10:22 +0000)
commit02fbaede8f33b4acc3421e6d641dfa9359a264da
tree090e675178c3797ecbd0d7cdfbaf20a268f3e9a4
parent1357443e48881617462463bf8e9037e4fa487d79
workaround [#27203] Crashes with some high-res image thumbnail generation
skip generating thumbs for images over 100mb.
also pass string lengths as size_t rather then int for path_util.c functions.
source/blender/blenlib/BLI_path_util.h
source/blender/blenlib/intern/path_util.c
source/blender/imbuf/IMB_thumbs.h
source/blender/imbuf/intern/thumbs.c