View Full Version : Preventing overflow and underfliw
Feb 21, 2012, 04:43 AM
I am a new iphone programer.
If someone can explain to me or give me any refre to how i can prevent bufferoverflow, underflow or any other attack on my app I will be very gratefull.
Feb 21, 2012, 12:23 PM
Is there really a need to worry about that?
(That is a question. I don't know the answer. I had been under the impression that security against attacks wasn't really a concern for developers, that processes in iOS are so sandboxed that it's really apple, not the developer's, concern.)
Feb 21, 2012, 12:25 PM
I think if you are a new iPhone programmer, the least of your worries is attack vectors. Right now you should be concentrating on learning the fundamentals.
Feb 21, 2012, 02:06 PM
For starters, don't use C strings or malloc'd buffers for any user or network input. Use APIs that use NSStrings and NSData for all input.