imageworks/OpenShadingLanguage — pull request #205 by brechtvl (2012-12-22 14:21:03+00:00)
Title: Windows port: fix crash with visual studio in insert_code

Taking the address of the first element of an empty vector will crash due to security checks.

An alternative would be to disable these checks with /GS-
http://msdn.microsoft.com/en-us/library/8dbf701c(v=vs.80).aspx