0x10cAtlas / AtlasOS

An operating system for DCPU-16.
109 stars 15 forks source link

Bash exploit cause Stack Corruption - BUG #38

Closed ghost closed 12 years ago

ghost commented 12 years ago

Step to replicate in DCPU16 Studio:

In bash

  1. write some unrecognizable string until the end of the screen is reached Ex: 'aaaaaaaaaa'
  2. write a string with the max length possible Ex: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'

Now you are writing below 0x8180

  1. Keep pressing ENTER to continue writing "/ $>" until the stack is reached (require some minutes )
chessmaster42 commented 12 years ago

Bug confirmed, will fix in next build.

Thanks for finding this!