Closed drasmart closed 5 months ago
@drasmart could you please confirm if the on the other end sprintf always provides this string as a %s parameter - so we don't end up crashing. Thanks.
fileName
is always passed into Snprintf
.
If the format contains %s
, the additional memory is allocated.
see https://github.com/51Degrees/common-cxx/blob/main/status.c#L140-L149 (frozen^)
If fileName
passed into the function was NULL
, it gets assigned "null"
value.
see https://github.com/51Degrees/common-cxx/blob/main/status.c#L133-L135 (frozen^)
Why