dtrace-utils icon indicating copy to clipboard operation
dtrace-utils copied to clipboard

strjoin() can store lenghts beyond strsize

Open kvanhees opened this issue 4 years ago • 0 comments

The strjoin() implementation is currently simply adding the length of the two component strings and storing that as length for the result. This can cause the stored length to be larger than strsize.

kvanhees avatar Nov 10 '21 18:11 kvanhees