It's a programming error to not do so and would cause all kinds of problems in the caller that assumed its own buffer to have been filled.