Blender Git Commit Log

Git Commits -> Revision be22134

Revision be22134 by Lukas Stockner (master)
December 8, 2021, 22:35 (GMT)
Fix T93858: Zstd-compressed .blend files from external tools aren't recognized

The issue here was that after the seek table check, the underlying file wasn't
rewound to the start, so the code that checks for the BLENDER header
immediately reaches EOF and fails.

Since Blender always writes files with a seek table, this bug isn't triggered
by files saved in Blender itself. However, files compressed in external tools
generally don't have a seek table.

Commit Details:

Full Hash: be2213472f825fab3cff61029a78954d6f079296
Parent Commit: f32b63e
Lines Changed: +3, -0

1 Modified Path:

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