Quote:
Originally Posted by p3tsin
Its known but very much discouraged. You can easily overflow the buffer if the function returns an array larger than what you've allocated.
|
Can't you put a parameter in the function to specify the maximum length of the returned string?
EDIT: grey, isn't that function returning a single character, not a string?