forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Overflow Memory with Network Update??

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
RATiX



Joined: 30 Apr 2005
Posts: 48

PostPosted: Thu May 19, 2005 10:32 am    Post subject: Overflow Memory with Network Update?? Reply with quote

When you download an update with the Network Update function, it doesn't write the file to the memory stick until the very end. For example, if you start a Network Update, rip the MS out ater it has started downloading (I did this when it was at 0%), all you get is a file that says "Corrupted Data" and supposedly 16KB big under the Game -> Memory Stick place in the XMB. I run Network update again, let it d/l 99% of the update, and I rip the MS out. Again, I get a 16 KB "Corrupted Data" file. Basically, if someone was able to use the Network Update function to send it a homebrew update with a large file size, you would be able to overrun the memory (which seems to be the place where the update file is stored until it's 100% downloaded).

Also, if you have an update (100%, non-corrupted) on the MS, and re-download the update, if you let it d/l 100% of the way, it will overwrite the update on the MS.

My guess is that the Network Update sends some 16KB file to reserve space (or maybe act as some kind of header or container) for the update. The update downloads, but not to the Memory Stick, despite the fact that the Memory Stick access light flashes constantly. Perhaps some small bit of data is being while the update is being d/l'd. Anyway, after all files have been downloaded, the PSP checks if there has been another update on the MS (or perhaps it does this when it first creates the 16KB file, I don't know) and then overwrites any existing update with the one stored in memory.

I don't know if a memory overflow is useful, but this is one way to do it, or so it seems.

*I haven't connected the PSP to a PC to see what the real size of the "Corrupted Data" files are; they may be smaller/larger than 16KB in reality.
Back to top
View user's profile Send private message
mrbrown



Joined: 17 Jan 2004
Posts: 1536

PostPosted: Thu May 19, 2005 11:44 am    Post subject: Reply with quote

Moved to the new Exploit forum.

Dude, news for you, it is writing to the memory stick, that's why the light is constantly flashing. But because you eject it while it's writing, it never gets the chance to close the file, resulting in corrupted data.

You can end up trashing your memory stick this way, I wouldn't advise doing it anymore. I think Herben mentioned this in another thread, but folks, please don't yank out your memory stick as it's being accessed, that's just being dumb.
Back to top
View user's profile Send private message
ichan



Joined: 03 Apr 2005
Posts: 7

PostPosted: Fri May 20, 2005 8:09 am    Post subject: Reply with quote

just something really simple i've always wanted to know, does yanking out a memory stick actually thrash it to an unrecoverable state potentially or would it just corrupt the data and require a re-formatting?
Back to top
View user's profile Send private message
zigzag



Joined: 26 Jan 2005
Posts: 129

PostPosted: Fri May 20, 2005 8:44 am    Post subject: Reply with quote

I heard the PSP doesn't have enough memory for a memory overflow exploit? Is this the case?

lol... sorry, I couldn't resist :)
Back to top
View user's profile Send private message
pixel



Joined: 30 Jan 2004
Posts: 791

PostPosted: Fri May 20, 2005 8:46 am    Post subject: Reply with quote

Troll radar detection alert!
_________________
pixel: A mischievous magical spirit associated with screen displays. The computer industry has frequently borrowed from mythology. Witness the sprites in computer graphics, the demons in artificial intelligence and the trolls in the marketing department.
Back to top
View user's profile Send private message
quedijo



Joined: 20 May 2005
Posts: 3
Location: Earth

PostPosted: Fri May 20, 2005 2:48 pm    Post subject: Reply with quote

ROFLOL... your retarded zigzag. :P ;)
_________________
`^~${NONO}$~^`
"it's Not Joey, It's Noe!"
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
allthatinny



Joined: 06 May 2005
Posts: 24

PostPosted: Fri May 20, 2005 2:55 pm    Post subject: Reply with quote

why is he retarted, cuz he dont know as much as you do?
Back to top
View user's profile Send private message
allthatinny



Joined: 06 May 2005
Posts: 24

PostPosted: Fri May 20, 2005 2:57 pm    Post subject: Reply with quote

zigzag wrote:
I heard the PSP doesn't have enough memory for a memory overflow exploit? Is this the case?

lol... sorry, I couldn't resist :)


ack didnt notice that last bit at the bottom, my bad ;)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group