Incorrect use of sizeof() on a pointer instead of a char[] buffer caused the maximum string length to be clamped to the size of a pointer.
Incorrect use of sizeof() on a pointer instead of a char[] buffer caused the maximum string length to be clamped to the size of a pointer.