Although sprintf() is considered insecure, in this case it's harmless as the string copied to nullstr is fixed. However, because this function is deprecated, the compiler emits a warning. This patch removes the function call as it's not really needed in this case.
@jonjoliver can you review it please?
Although
sprintf()
is considered insecure, in this case it's harmless as the string copied tonullstr
is fixed. However, because this function is deprecated, the compiler emits a warning. This patch removes the function call as it's not really needed in this case.