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
Hello 馃憢! I think I found a small bug in utf8ncat when the function is executed with size_t n being 0.
The function will still write all remaining bytes to the dst buffer.
Hello 馃憢! I think I found a small bug in
utf8ncat
when the function is executed withsize_t n
being0
.The function will still write all remaining bytes to the
dst
buffer.for example:
If I am not mistaken it is because
size_t
being unsigned which causes the following--n
to wraparound:utf8.h/utf8.h
Line 631 in 89f6a43
I presume this is not defined behavior and that this is a bug.
The text was updated successfully, but these errors were encountered: