Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: File/Folder icons - normal and custom



On Jun 12, 2007, at 03:25 AM, Philip Aker wrote:

1. Do a system( "sips -i '/path/to/image.tif'" );

Just as an FYI, using system() for a task such as this can be exploited to run arbitrary code by an attacker than knows what they are doing. Instead, you should use fork()/exec() to do this.
--
Reality is what, when you stop believing in it, doesn't go away.
Failure is not an option. It is a privilege reserved for those who try.


David Duncan

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >RE: File/Folder icons - normal and custom (From: "Yaron Tadmor" <email@hidden>)
 >Re: File/Folder icons - normal and custom (From: Philip Aker <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.