Hercules is a collaborative software development project revolving around the creation of a robust massively multiplayer online role playing game (MMORPG) server package. Written in C, the program is very versatile and provides NPCs, warps and modifications. The project is jointly managed by a group of volunteers located around the world as well as a tremendous community providing QA and support. Hercules is a continuation of the original Athena project.
[x] I am aware that this PR may be closed if the above-mentioned criteria are not fulfilled.
Changes Proposed
Simply replace some sprintf with snprintf, keeping their destination array size. This removes a few warnings about possible overflows (which never happens in default configs).
Pull Request Prelude
Changes Proposed
Simply replace some
sprintf
withsnprintf
, keeping their destination array size. This removes a few warnings about possible overflows (which never happens in default configs).Issues addressed: None, I think