Programmaticaly parse archive loaded with addFileArchive

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Cube_
Posts: 1010
Joined: Mon Oct 24, 2011 10:03 pm
Location: 0x45 61 72 74 68 2c 20 69 6e 20 74 68 65 20 73 6f 6c 20 73 79 73 74 65 6d

Re: Programmaticaly parse archive loaded with addFileArchive

Post by Cube_ »

CuteAlien wrote:*sigh* I should have quoted. My whole post was more or less about this:
Any game let's you use custom models by simply replacing a model, so technically any irrlicht powered game is vulnerable to such an exploit
I was only mentioning mods at end. And yes - they are a security problem. But they are that in most games really. If you install any game-mods you are usually putting yourself at risk (you have no chance knowing which games might actually have cared more or less about security as there are no public security reviews for games so far to my knowledge). But sure, it's nice if people made them more secure and we should help out when we can :-)
I make a distinction between game and engine code, a framework or engine has a higher responsibility to stay secure due to a much larger userbase (and thus a larger propagation of said bug)
However, as with any philosophy there's need not be one correct answer - it's all coding religion really, some swear by OOP, others condemn it. Some swear by GC, other's don't. Some swear by safe code, other's throw caution to the wind.
CuteAlien wrote:And in our case it's not really a philosophy thing. It's simply that we got lots of loaders written by lots of people - none of which are still active working at Irrlicht. We don't have the manpower and/or knowledge to do security reviews.
Fair enough, that's why I volunteered to at least attempt to 'fix' these loaders.
"this is not the bottleneck you are looking for"
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Programmaticaly parse archive loaded with addFileArchive

Post by CuteAlien »

Safe-code as long-term target. Right now I would be glad with working code (found a pretty big bug in .obj loading just this night ... which also affects basically every other mesh-loader + some other code. fast_atof fails when there are more than 16 digits after the dot in the number string. And that means even valid files can return crap. Horror. I go sleeping now ...).
edit: Fixed now.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Post Reply