imageworks/OpenShadingLanguage — pull request #148 by lgritz (2012-06-28 18:11:59+00:00)
Title: Review: Fix bug in SS::convert_value, where for int conversions it didn't honor 

Passing NULL for the src/dst parameters is supposed to mean that convert_value() just says whether the proposed conversion is allowed by the type conversion rules, but not actually do the copy.

There was a bug where for int conversions, it still tried to perform the copy, which would crash when passed NULL.