summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorLaslo Hunhold <dev@frign.de>2018-05-17 23:23:28 +0200
committerAaron Marcher <me@drkhsh.at>2018-05-17 23:26:56 +0200
commit28c49d6eae7fedc796e801d6595ed65dbe8bb2cb (patch)
tree7ec72cf6a75f0bdc858a2e67f1fc214a8f916de5 /components
parent030e7ff80fbe36381d3447c4637fbbed84ecbc12 (diff)
Properly handle *snprintf() errors
Posix guarantees that the resulting string is null-terminated, even if we have an overflow. Instead of doing what has already been done, properly warn when there has been an error or overflow, so the user can do something about it.
Diffstat (limited to 'components')
0 files changed, 0 insertions, 0 deletions