trendmicro / tlsh

Other
732 stars 136 forks source link

Remove call to sprintf() to avoid warnings #146

Open merces opened 2 weeks ago

merces commented 2 weeks ago

@jonjoliver can you review it please?

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.