kiota
kiota copied to clipboard
Fix possible StackOverflow exception
This PR prevents a possible StackOverflow exception by limiting the amount of memory allocated on the stack and falling back onto an array creation in the case of a string exceeding a certain length.