oracle / dtrace-utils

DTrace-utils contains the DTrace port to Linux
Other
153 stars 20 forks source link

strjoin() can store lenghts beyond strsize #56

Closed kvanhees closed 1 year ago

kvanhees commented 3 years ago

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 commented 1 year ago

Verified as resolved.