Blender Git Commit Log

Git Commits -> Revision 0624235

Revision 0624235 by Jeroen Bakker (master)
November 22, 2021, 14:52 (GMT)
Moviecache: Fix potential memory corruption.

`IMB_moviecache` is implemented as a singleton. When destructing the
singleton via `IMB_moviecache_destruct` it will not be created anymore
resulting inusage of unallocated memory and potentional memory
corruption.

When running blender this doesn't happen, but when creating images in
test cases the moviecache should be able to be recreated after it is
destroyed.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D13287

Commit Details:

Full Hash: 06242359008f0adb1d8330f5253e208a6779fe0d
Parent Commit: be876b8
Lines Changed: +1, -0

1 Modified Path:

/source/blender/imbuf/intern/moviecache.c (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021