Location: JBPLAY \ Meteor 2 \ Editing \ Risk for buffer overflows? Back to Threads |
ParaSait Joined: 26 June 2007 Posts: 1478 |
13 August 2008 21:38 (UK time)
I plan to make a script wherein I will declare an array. Only, I'm a little frightened that a typical problem would happen with this: A buffer overflow. Is there a risk that this happens in the compiler that M2 uses? EDIT: Otherwise, I'll declare a way too big array, just to make sure that it doesn't happen
Edited: 13 August 2008 21:40 You need to login to create posts in this thread. |
Canuck Joined: 31 August 2007 Posts: 419 |
15 August 2008 20:42 (UK time)
Whaaaaahhhhht??? What's an array? Sorry, I really don't understand a lot about programming. You need to login to create posts in this thread. |
ParaSait Joined: 26 June 2007 Posts: 1478 |
16 August 2008 13:47 (UK time)
Well, you're not supposed to understand; This is a question for James =P
You need to login to create posts in this thread. |
ParaSait Joined: 26 June 2007 Posts: 1478 |
16 August 2008 13:55 (UK time)
Hah, yeah I know I'm just afraid for the 'hidden effects'. For example: A buffer overflow causes to overwrite your HP variable, so it makes you have 65536 HP instead of 100 without me knowing it
Edited: 16 August 2008 14:00 You need to login to create posts in this thread. |
Dthdealer Joined: 10 March 2007 Posts: 476 |
16 August 2008 14:04 (UK time)
And how is that bad? If you are worried then just divide all of your variables by 1000 and multiply them by 1000 in the lines of script they are used in.
Edited: 16 August 2008 14:06 You need to login to create posts in this thread. |
ParaSait Joined: 26 June 2007 Posts: 1478 |
16 August 2008 14:11 (UK time)
OK I'll do that ) Speaking of fast answers, BTW =P
You need to login to create posts in this thread. |
|
Forums system (C) 1999-2023 by James Bunting.
Terms of Use