Josef Grunig wrote:
> Hi all,
>
>   
>>> I was expecting that SceneFileHandler::the().read would just
>>> fail and return a NullFC, but every time I make a test,
>>> I end up in a crash.
>>>       
>
> Simply loading a dll does not crash for me, because it does not
> recognize the file type (it correctly returns NullFC), but renaming a
> dll file to an osb does. Shouldn't the loader be supposed to handle
> such situations? There should be a valid header to check for, or
> something similar...
Ideally it would detect corrupt files and report an error. However, I'd 
imagine that making sure it does that would be quite difficult to 
implement. A header- or checksum-check might be more feasible, as you say.

/Marcus

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to