[Mono-dev] fixing some warnings - fatal error call might return

Alexander Stohr Alexander.Stohr at gmx.de
Fri Aug 6 14:10:22 EDT 2010

found a location in fatal error area where compiler complained about a function returning whilst it should not return. in fact it was dependent on a variable that could be set to anything.

imagine a problem damages some data including the conditional value and then faults for whatever reason - the thread would be able to return into the application code and possibly causing further data corruption including e.g. some data on file systems.

more trivia fixes and enlightening comments are included in the attached patch.

GMX DSL SOMMER-SPECIAL: Surf & Phone Flat 16.000 für nur 19,99 ¿/mtl.!*
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kill-warnings-001-stripped.patch
Type: text/x-patch
Size: 13760 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20100806/7cf7ae5b/attachment-0001.bin 

More information about the Mono-devel-list mailing list