Page 1 of 1

Posted: Wed May 19, 2004 6:30 pm
by guest
anyone report buffer overruns since 1.5?

Posted: Wed May 19, 2004 6:55 pm
by Doobie
I've never encountered a buffer overrun vulnerability in myth due to the fact that input boxes always control the length of user input. But now that you mention it, I have a couple ideas of how to get around that... mb i'll look into this. I suppose map making has some potential in this regard as well.

Posted: Wed May 19, 2004 7:20 pm
by Myrd
A few existing ones were fixed in 1.5. Usually, buffer overruns are fairly hard (but not impossible) to discover without looking at the code in question. And no, we haven't had any reports (although feel free to make one if you have something!).



Edited By Myrd on 1085012518

Posted: Thu May 20, 2004 3:40 am
by lerabu
It occurs often in m3 - Sprite Buffer Overload

Posted: Thu May 20, 2004 4:19 am
by haravikk
iirc that was because of the sprite buffer being increased by MythDev to get better graphical performance, but if you have a slow or low memory graphics card then this might dominate it and cause problems. Wouldn't hurt to put a note on the bug-tracker though :)

Posted: Thu May 20, 2004 5:50 am
by CIK
Actually the Sprite buffer in m3 isn't a buffer overrun, it just runs out of space that's all and drops Sprites.

The problem has been with m3 since 1.0, in the early days it caused sprite freakout which fixed in 1.1.2 or something like that.

There was a time when I tried increasing the buffer size, but it caused issues for a # of folks and even the enlarged one could still not be big enough in certain instances.

Posted: Thu May 20, 2004 11:35 am
by lerabu
So we're gonna have to wait 5 more uears untill there is a quantum computer powerful enough to run at at max specs without a glitch? ;)

Posted: Thu May 20, 2004 11:56 am
by GHOST®
[color=DFC99B]
lerabu wrote:So we're gonna have to wait 5 more uears untill there is a quantum computer powerful enough to run at at max specs without a glitch? ;)
MB not THAT long. ;op

Last I talked to Myrd, he was doing some prelim investigation into MIII and is processor usage (iirc), he discovered that where as MII`s Overhead map uses only 3% of the proceesing time/power, in MIII that same feature is using a whopping 36%. :oO

A few more finds/fixes like this, and you could almost run MIII on lesser machines than stated in the System Requirements mb. ;op

Anyways, just saying that after watching our programmers work on MII, I have much higher hopes for MIII now than Ive ever had. :oD[/color]