When changing some sprintf calls to snprintf, I realized there are many cases that would be simplified by using asprintf instead. It's been present in glibc since the 90s, the BSDs/macOS for almost as long, and Solaris since 'Solaris 10 8/2011'.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/4261