UpgradeError / ncloak

Automatically exported from code.google.com/p/ncloak
0 stars 0 forks source link

GetTypeDefinition() should check for null after all calls #5

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. if you have an assembly that refers to external ones, you'll have a 
crash
2.
3.

What is the expected output? What do you see instead?
No crash

What version of the product are you using? On what operating system?
0.5 (latest sources from SVN)

Please provide any additional information below.

review FindBaseTypeDeclaration() and FindBaseTypeDeclaration() functions - 
you have to always check for null the result from these
cheers! :)
Alex.

Original issue reported on code.google.com by ash...@gmail.com on 25 Mar 2010 at 12:39

GoogleCodeExporter commented 8 years ago

Original comment by nzpaulma...@gmail.com on 25 Mar 2010 at 12:52

GoogleCodeExporter commented 8 years ago
GetTypeDefinition() still not checked in all the return points (revision 27)

Original comment by greeno...@gmail.com on 3 May 2010 at 8:33