Bugfix: unsafe snprintf calls (rev. 1)

Signed-off-by: nixnodes <code@eth.si>
Merge branch 'master' of https://github.com/nixnodes/glutil.git