Skip to content
Commit 92d5c52a authored by Martin Sebor's avatar Martin Sebor Committed by Florian Weimer
Browse files

resolv: Avoid GCC 12 false positive warning [BZ #28439].

Replace a call to sprintf with an equivalent pair of stpcpy/strcpy calls
to avoid a GCC 12 -Wformat-overflow false positive due to recent optimizer
improvements.

(cherry picked from commit eb73b878)
parent d36f4578
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment