View Full Version : Preventing overflow and underfliw
Feb 21, 2012, 03: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, 11:23 AM
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, 11:25 AM
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, 01: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.