You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The n argument to snprintf refers to the buffer's size.
The fault here is that it shrunk by one byte.
Issue is visible when when using trim (output truncated to newline).
0 commit comments