diff options
author | Jan Chochol <[email protected]> | 2018-12-19 08:02:03 +0100 |
---|---|---|
committer | Jan Chochol <[email protected]> | 2018-12-19 08:05:46 +0100 |
commit | 75ae8bc8efa94103d68cb203c1e81088f9c38d32 (patch) | |
tree | bd2591180b358d282c101a81e43d01f720cf4cd0 /lib/webtool/test | |
parent | 7cb403e4aa044fd2cc7702dbe8e2d0eea68e81f3 (diff) | |
download | otp-75ae8bc8efa94103d68cb203c1e81088f9c38d32.tar.gz otp-75ae8bc8efa94103d68cb203c1e81088f9c38d32.tar.bz2 otp-75ae8bc8efa94103d68cb203c1e81088f9c38d32.zip |
odbc: Fix stack corruption in get_diagnos in odbcserver
SQLGetDiagRec can fill output buffer and return SQL_SUCCESS_WITH_INFO.
In that case we can not use strcat on diagnos.error_msg as it will write
outside allocated space.
Correctly set acc_errmsg_size in such case.
See also ERL-808 at bugs.erlang.org.
Diffstat (limited to 'lib/webtool/test')
0 files changed, 0 insertions, 0 deletions