== Why is this an issue?

As stated in the Glibc documentation:

____
The behavior of the 's[n]printf()' functions are undefined if copying takes place between objects that overlap—for example, if s is also given as an argument to be printed under control of the ‘%s’ conversion

____


=== Noncompliant code example

[source,cpp]
----
sprintf(buf, "%s Entry: %d\n", buf, i); //Noncompliant 
----

ifdef::env-github,rspecator-view[]

'''
== Implementation Specification
(visible only on this page)

=== Message

Use a new, dedicated buffer to store the result of this convertion


endif::env-github,rspecator-view[]
