SKIRT / SKIRT9

SKIRT version 9 -- advanced radiative transfer in dusty systems
http://www.skirt.ugent.be
GNU Affero General Public License v3.0
34 stars 30 forks source link

No longer use unsafe function sprintf #170

Closed petercamps closed 1 year ago

petercamps commented 1 year ago

Motivation Recent compiler versions produce a warning about the use of the standard library function sprintf because the function does not know the length of its output buffer and thus may write past the end of the provided buffer.

Description This pull request represents a technical update to avoid these warnings (no features are introduced or changed):

Tests All functional tests still work.