Blender Git Loki

Git Commits -> Revision f284a40

Revision f284a40 by Campbell Barton (master)
November 12, 2020, 01:30 (GMT)
ImBuf: pass the number of bytes read to 'is_a' callbacks

Previously the header was a fixed size and assumed to be zeroed.
Now read in bytes up to `HEADER_SIZE`, pass the number or bytes
read to the callback which must not read past those bytes.

Commit Details:

Full Hash: f284a40385422465bb91fe0a313317f74844b338
Parent Commit: fa81a42
Lines Changed: +22, -36

1 Modified Path:

/source/blender/imbuf/intern/util.c (+22, -36) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021