Re: Could sprintf be replaced with snprintf?
Matt Borland via Boost-users <[email protected]> Thu, 16 Nov 2023 07:49:25 +0000
| Newsgroups | gmane.comp.lib.boost.user |
|---|---|
| Message-ID | <Pf48-gc6-cj6eqOSN0Vdtd9GflZ3MpoXJI1wwJEM8a-8vzyIyJ1AyDX2gUZysKV7BlaetcHriFEpBZm5ZCU3siOg5ryMz1MBNWqDq5NB3U0=@mattborland.com> |
On Wed, Nov 15, 2023 at 17:56, McGrath, Justin M via Boost-users <[[email protected]](mailto:On Wed, Nov 15, 2023 at 17:56, McGrath, Justin M via Boost-users <<a href=)> wrote: > I am using some Boost libraries in a code base that does not want any use of sprintf. An automatic test flags any calls to it or vsprintf. > > Is it possible to replace all uses of sprintf with snprintf? I really doubt there are actually any security issues here, but I'm hoping this wouldn't be too difficult or cause any problems other than the effort to do it. > > Cheers, > Justin > _______________________________________________ > Boost-users mailing list > [email protected] > https://lists.boost.org/mailman/listinfo.cgi/boost-users Justin, Which libraries are you using that have that issue? Matt _______________________________________________ Boost-users mailing list [email protected] https://lists.boost.org/mailman/listinfo.cgi/boost-users