Blender Git Loki

Git Commits -> Revision 8b815c7

Revision 8b815c7 by Robert Guetzkow (master)
November 16, 2020, 12:17 (GMT)
Fix T81271: Fix crash in BLI_gzopen on Windows

Previously the return value of `ufopen` wasn't checked and if it failed,
`NULL` was passed into `fclose()` which resulted in a crash. This patch
avoids this by returning from `BLI_gzopen` when the file cannot be created.

Reviewed By: sebbas, iss

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

Commit Details:

Full Hash: 8b815c7ce565b707fca9e9793bbec9784856f0f9
Parent Commit: 7db42b8
Lines Changed: +6, -1

Tehnyt: Miika HämäläinenViimeksi p?ivitetty: 07.11.2014 14:18 MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021