Serious Mac OS X file-save bug could delete files
updated 11:35 am EST, Mon November 17, 2003
Mac OS X file-save bug
MacNN readers note a serious that affects all Cocoa application, which could caused deletion of an entire (non-boot) partition: "If you try to save a file with a name that is *much* too long (say, 1000 characters), OSX will apparently suffer some kind of buffer overflow, and overwrite the folder you're trying to save that file into. It will warn you that it might overwrite something, but if you're not paying attention or if you instinctively hi enter... You could potentially completely overwrite a partition (obviously not the system drive for permission reasons, but any partition), if you're saving at the root of that partition."










Yeah but...
11/17, 11:43am reply
who ever names a document with more than 1000 charecters?
MacNN.com Reader
Fresh-Faced Recruit
Joined: Jul 2001
genome research
11/17, 11:45am reply
1000 character long filenames are really useful. Considering having to save a file according to the name of a specific part of the genome. You know, those scientists switched from DOS and it's 8.3 character limitations precisely because of this reason alone, the ability of the Mac to use longer filenames than DOS. and OS X leads in that tradition.
The longer the filename, the more of the genome we can save. Hopefully with the release of Mac OS Puma, scientists will be able to utilize 2,000 character names, perhaps allowing for mutation research within the human genome, finally!!
MacNN.com Reader
Fresh-Faced Recruit
Joined: Jul 2001
for the rest of us...
11/17, 11:47am reply
for the rest of us who aren't studying the human genome... whoopydifreak'ndo! who cares.
MacNN.com Reader
Fresh-Faced Recruit
Joined: Jul 2001
This is a real problem...
11/17, 11:52am reply
I like to be very descriptive when I name my files. 1000 characters is nothin'. What was Apple thinking? How could they release an OS with such a hidious limitation? Windoze here I come...
Come on, get real! I've been using and fixing Macs for about 20 years and to say that this is a problem is crazy. It would be simpler for a hacker to just format the drive or partion than to try and save a file with a name 1000 characters long. Geez!
MacNN.com Reader
Fresh-Faced Recruit
Joined: Jul 2001
This "problem" is as...
11/17, 11:57am reply
....likely to hurt me as I am to see a flock of pigs zoom by my window.
MacNN.com Reader
Fresh-Faced Recruit
Joined: Jul 2001
Re: This "problem"
11/17, 12:04pm reply
No kidding... people whine and b**** about the apparent lack of attention to security in OS X, and then they come up with c*** like this for an example.
Ridiculous. You couldn't hack an OS X box if you tried, and even if you could, you'd have to use some obscure method like activating the screensaver and typing the commands at light speed before the password dialogue pops up or trying to save a file with more than 1,000 characters in the name. Windows, on the other hand, can be exploited and compromised by an 11 year old using an old 75MHz Pentium and a dial-up connection.
MacNN.com Reader
Fresh-Faced Recruit
Joined: Jul 2001
Get Serious!
11/17, 12:10pm reply
How can this bug be considered to be a SERIOUS ??
It is a data loss bug and should be fixed, but it is not a serious problem for ANYONE.
MacNN.com Reader
Fresh-Faced Recruit
Joined: Jul 2001
It is a bug
11/17, 12:12pm reply
If it is a bug, it could cause a problem, and therefore it should be fixed. I'm not sure why people defend Macs no matter what is the problem. I'm convinced if someone found a bug that would cause their Mac to explode, people would post in this forum and claim it was somehow a positive feature by Apple.
MacNN.com Reader
Fresh-Faced Recruit
Joined: Jul 2001
Puma?!
11/17, 12:14pm reply
Puma has already come and gone... that was the codename for the original Mac OS X 10.0.0
It's a buffer overflow problem -- the same thing that affected the screensaver password until it was fixed.
MacNN.com Reader
Fresh-Faced Recruit
Joined: Jul 2001
Hmmmmmm
11/17, 12:15pm reply
Can you still use .doc or a three letter extension after the 1000 character file name? I wouldn't want to forget what kind of file I'm saving.
MacNN.com Reader
Fresh-Faced Recruit
Joined: Jul 2001