Replaced sprintf() with safer snprintf()
Documented bugfix in LDM 5 client library