Blender Git Commit Log

Git Commits -> Revision d8681c9

Revision d8681c9 by Alexander Gavrilov (master)
September 10, 2016, 18:15 (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: d8681c99c4290d38f38e67a2e1b9f7119221a569
Parent Commit: 037df2a
Lines Changed: +1, -1

1 Modified Path:

/intern/opensubdiv/opensubdiv_capi.cc (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021