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 constructor in the InputText class uses strncpy, which can lead to buffer overflows. Consider using std::copy from the <algorithm> library to safely copy the string and ensure null termination.
The constructor in the InputText class uses
strncpy
, which can lead to buffer overflows. Consider usingstd::copy
from the<algorithm>
library to safely copy the string and ensure null termination.Relevant code snippet:
References:
PR URL: #41
Comment URL: #41 (comment)
The text was updated successfully, but these errors were encountered: