|
|
Apple seems to have an issue with Data Loss. Yet another serious bug in OSX.
|
|
|
|
Senior User
Join Date: Oct 2000
Location: Paris, France
Status:
Offline
|
|
And this one affects ALL Cocoa apps.
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 over write something, but if you're not paying attention... 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.
I stumbled across this bug trying to understand how my mother had deleted her desktop folder. She just tried to save a web page with a very long title. Safari overwrote her Desktop folder, because she was trying to save it to her Desktop. Destroyed every single file she had, instantly, just because she didn't pay attention to the message.
This is a really severe issue IMHO, my mother's experience has been disastrous. The data can probably not be recovered, I really hope Apple fixes this ASAP
|
Soyons R�alistes, Demandons l'impossible
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Feb 2002
Location: USA
Status:
Offline
|
|
Damn those 1000 character long file names! Damn them to hell!
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Mar 2001
Location: CO
Status:
Offline
|
|
In some SAVE dialogs I'll get a warning that a name is too long. Is this not standard? Sounds like big-time booboo.
|
TOMBSTONE: "He's trashed his last preferences"
|
|
|
|
|
|
|
|
Senior User
Join Date: Oct 2000
Location: Paris, France
Status:
Offline
|
|
Damn those 1000 character long file names! Damn them to hell!
As I said, some web pages have titles that long. That's how it happened to my mother.
In some SAVE dialogs I'll get a warning that a name is too long. Is this not standard? Sounds like big-time booboo
It does, if the name is close to the 256 char limit. Not if its in the 1k ballpark...
|
Soyons R�alistes, Demandons l'impossible
|
|
|
|
|
|
|
|
Addicted to MacNN
Join Date: Feb 2001
Location: zurich, switzerland
Status:
Offline
|
|
This is a buffer overflow (and a damn bad one at that) and could also be used as a potential exploit. Have you notified Apple about this???? If not, do so, please!
Have you been able to verify this from the commandline as well as from the GUI?
P.S. If you've notified Apple about this and they don't do anything about it (normally they're quite quick with important security related fixes) just submit it to slashdot. They'll have it fixed in no time, then.
|
weird wabbit
|
|
|
|
|
|
|
|
Senior User
Join Date: Oct 2000
Location: Paris, France
Status:
Offline
|
|
touching a file with a name that long from the cli doesn't work, the os responds with a "file name too long" error.
I don't really know how to correctly notify Apple. I mean, it could take ages for them to read a bug report posted on http://www.apple.com/macosx/feedback/
Any devs on the Apple mailing lists here?
|
Soyons R�alistes, Demandons l'impossible
|
|
|
|
|
|
|
|
Mac Elite
Join Date: May 2001
Location: NYC
Status:
Offline
|
|
|
|
|
|
|
|
|
|
|
Grizzled Veteran
Join Date: Apr 2001
Status:
Offline
|
|
|
|
|
|
|
|
|
|
|
Senior User
Join Date: Oct 2000
Location: Paris, France
Status:
Offline
|
|
Originally posted by wadesworld:
This bug should be reported via bug reporter. Join ADC (for free) and then you can report it.
http://bugreport.apple.com
Wade
Done.
Problem ID# :3485338.
Thanks. I hope this is resolved soon. Any data recovery software that might help?
(
Last edited by SYN; Nov 15, 2003 at 11:39 AM.
)
|
Soyons R�alistes, Demandons l'impossible
|
|
|
|
|
|
|
|
Fresh-Faced Recruit
Join Date: Dec 2001
Location: Denmark
Status:
Offline
|
|
I easily reproduced your problem in 10.3.1 ...it seems that the enclosing folder is just replaced with the file you are trying to save. However, ithe system does warn you that it is going to do exactly that, which is better than nothing **cough** *cough* Filevault issue in 10.3.0 *cough*....
Nice catch ...I hope Apple responds to this quickly...
(
Last edited by Martiny; Nov 15, 2003 at 08:16 PM.
)
|
"If you think programming is a small thing, that's why your programs are so large."
- Alan Kay
|
|
|
|
|
|
|
|
Mac Elite
Join Date: May 2001
Location: Up north
Status:
Offline
|
|
thinks like Norton Utilities can recover those lost files btw. So long as you don't write a whole bunch of new information to your hardrive.
|
|
|
|
|
|
|
|
|
Posting Junkie
Join Date: Feb 2000
Location: Washington, DC
Status:
Offline
|
|
Ummm, I don't care what anyone says...
Apple should fix this. We shouldn't have this type of issue.
|
|
|
|
|
|
|
|
|
Clinically Insane
Join Date: Oct 2000
Location: Los Angeles
Status:
Offline
|
|
Does this affect every OS X release or just Panther?
|
"The natural progress of things is for liberty to yield and government to gain ground." TJ
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Jan 2003
Location: Teaneck, NJ
Status:
Offline
|
|
is this just an issue with safari or with any app?
|
|
|
|
|
|
|
|
|
Senior User
Join Date: Oct 2000
Location: Paris, France
Status:
Offline
|
|
Seems to happen on all Cocoa apps. I can't reproduce it with GraphicConverter, but Safari and TextEdit reproduce it easily.
I'll try Norton of Data Rescue. Can't seem to make Prosoft's demo dl work though
Thanks guys.
|
Soyons R�alistes, Demandons l'impossible
|
|
|
|
|
|
|
|
Junior Member
Join Date: Oct 2002
Location: Lisbon or VRSA (Algarve) - Portugal
Status:
Offline
|
|
if you're working fast, and do a mistake with Command+C and then when the save dialog appears u press Command+V and Enter. Did you expect the lost your data?
Very, very serious bug.
Yesterday i found something with the textedit. if your cocoa app reaches the dock, when you call the Command+S (with an expanded save dialog) - if you press ESC in the middle of the sheet animation, the sheet will leave incorrectly. also, the app will quit unexpectedly.
|
made on mac with .mac with a powermac and mac os!
they call it a community, not a monopoly
|
|
|
|
|
|
|
|
Senior User
Join Date: Nov 2002
Location: US
Status:
Offline
|
|
Originally posted by Morenix:
Yesterday i found something with the textedit. if your cocoa app reaches the dock, when you call the Command+S (with an expanded save dialog) - if you press ESC in the middle of the sheet animation, the sheet will leave incorrectly. also, the app will quit unexpectedly.
Confirmed here - looks like there're really some rough edges hidden behind...
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Mar 2001
Location: CO
Status:
Offline
|
|
:bump:
This is making the front page of MacNN, and I'd like to see some further testing by brave souls...
For myself, I appreciate being warned but am not about to *seek* to reproduce the effect. Has the buffer overflow seemed to cause any other disruption? Has anyone successfully reclaimed all the "lost" files in the replaced folder?
|
TOMBSTONE: "He's trashed his last preferences"
|
|
|
|
|
|
|
|
Senior User
Join Date: Oct 2000
Location: Paris, France
Status:
Offline
|
|
Has the buffer overflow seemed to cause any other disruption? Has anyone successfully reclaimed all the "lost" files in the replaced folder?
All it does is replace the parent folder with the file you're trying to save. There probably is some way to exploit this as a security vulnerability.
I managed to reclaim some of the lost files with Data Rescue X, not all of them though, and some are corrupted beyond repair.
It has been confirmed on the ars forums:
Linky
|
Soyons R�alistes, Demandons l'impossible
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Feb 2000
Location: Nashua NH, USA
Status:
Offline
|
|
Wouldn't this be a problem with cocoa not with Panther?
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|