Vulnerability Development mailing list archives

font book crash os x


From: new.security () gmail com
Date: 31 Jul 2005 02:25:40 -0000

font book allows users to add new "collections" of fonts with a name of thier choice. When the name of the collection 
is a very very very large string of characters it crashes. here is the gdb output:
_____________________________________________________________
(gdb) run 
Starting program: /Applications/Font Book.app/Contents/MacOS/Font Book 
Reading symbols for shared libraries ........................................................................... done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0xf00f0070
[Switching to process 5539 thread 0x4103]
0x9285a784 in -[NSString(NSPathUtilities) stringByAppendingPathExtension:] ()
(gdb) 
__________________________________________________
for this to crash the collection name must contain thousands of characters.


Current thread: