OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
font book crash os x

new.securitygmail.com
Date: Sat Jul 30 2005 - 21:25:40 CDT


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.