GNOME Bugzilla – Bug 758202
Replace sprintf with snprintf
Last modified: 2016-02-25 14:11:12 UTC
Created attachment 315715 [details] Patch Replace sprintf with snprintf for security hardening in case user-controlled values are passed into sprintf. These are all straightforward additions of the sizeof() macro when changing the method, but if you're compiling on Windows with an older version of Visual Studio, see Bug 756691 (Substitution of _snprintf for snprintf in Windows may cause buffer overruns).
Created attachment 315716 [details] [review] Patch (fixed paths)
Fixed in master: https://git.gnome.org/browse/libxslt/commit/?id=a48c1a861052511f964495347af9e1cbe23d4609