Fix T38353: some EXR files from other applications not loading correctly.
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Sat, 25 Jan 2014 16:44:15 +0000 (17:44 +0100)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Sat, 25 Jan 2014 16:44:15 +0000 (17:44 +0100)
commit70e844ea11f3ed0c215bd667f668303ad55fd785
tree3deb6697afd328ce6b30ff2196244a6e7f3e4c44
parentb46dcafa7aeef69389ce5f45fb7982a37191534c
Fix T38353: some EXR files from other applications not loading correctly.

* EXR layers with names like 'Z' without any pass name were not loaded at all
  and would break the Combined pass as well.
* EXR pass names longer than 16 characters where writing past the end of the
  array and getting invalid names.
source/blender/imbuf/intern/openexr/openexr_api.cpp
source/blender/render/extern/include/RE_pipeline.h