commit | a920932703ca4867f13f53ea9f7c8724802ee685 | [log] [tgz] |
---|---|---|
author | Michael Jumper <mjumper@apache.org> | Sun Feb 21 14:55:25 2021 -0800 |
committer | Michael Jumper <mjumper@apache.org> | Sun Feb 21 15:05:53 2021 -0800 |
tree | 02f75f1cee13ed0f85f1b68c8ddbcb51314335fd | |
parent | c7935736da88709fbb390082cfdfbaba37ff094e [diff] |
GUACAMOLE-1174: Correct logic detecting truncation of appended parameter. The previous implementation passed `length - str_len` to `snprintf()`, yet compared the return value to `length`. This is incorrect, as `length` is not the buffer size provided to `snprintf()`.