Blender Git Commit Log

Git Commits -> Revision 7d85da8

Revision 7d85da8 by Sergey Sharybin (master)
February 14, 2016, 16:08 (GMT)
Cycles: Fix infinite recursion of md5 calculation on Windows

Was caused by some safety things of making sure we've for NULL
terminator for the buffer when doing mbs<->wcs conversion, but
it turns out this simply confuses str::string and it can no
longer have proper .size(). Let's assume behavior of string
allocation is same all over the std, and we can avoid having
that extra null-terminator allocated.

Commit Details:

Full Hash: 7d85da882b177e4be251a44f356d62ed5f7c2de0
Parent Commit: b4e10aa
Lines Changed: +2, -2

1 Modified Path:

/intern/cycles/util/util_string.cpp (+2, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021