Blender Git Loki

Git Commits -> Revision f6fb072

September 14, 2016, 08:26 (GMT)
Fix OpenSubdiv related buffer overrun with multiple FVar channels.

The existing code uses the input value count of the first channel
for all of them. If the first channel is the largest, it leads to
a crash-causing buffer overrun in memcpy below. Likely this was
left since the time when only one channel was supported.

As a crash fix, probably should go into 2.78

Commit Details:

Full Hash: f6fb072ab241fb490c98ef56c1215f593677db06
Parent Commit: 1613599
Committed By: Sergey Sharybin
Lines Changed: +1, -1

1 Modified Path:

/intern/opensubdiv/opensubdiv_capi.cc (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021