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
Currently, as written, the condition can't ever be true because strlcpy() unless line[x] was not properly NULL terminated (e.g. runaway string), but you probably wanted to check if strlcpy() was able to fit the whole line[i] inside the cur buffer.
The text was updated successfully, but these errors were encountered:
Hey,
I believe the check here: https://github.com/conformal/backtrace/blob/master/libbacktrace/backtrace.c#L264
should in fact be:
Currently, as written, the condition can't ever be true because
strlcpy()
unlessline[x]
was not properlyNULL
terminated (e.g. runaway string), but you probably wanted to check ifstrlcpy()
was able to fit the wholeline[i]
inside thecur
buffer.The text was updated successfully, but these errors were encountered: