github FreeTDS/freetds v1.5.22
FreeTDS 1.5.22 minor release

one hour ago

Added commits

tds: Avoid compute results to cause overflow

This requires a malicious server.
The column number was not checked causing potential buffer overflows accessing columns in the results.
Detect and close the connection.

tds: Fill up correctly upper part of numeric

A large NUMERIC (like NUMERIC(76, 0)) could cause a buffer overflow using "packet" array. This as the formulae to compute higher index was wrong. Correct the formulae.
In reality this is unlikely to happen, no current server support such a large NUMERIC so you probably would need a malicious server.
Also add a test for it using a really large number.

Caution

Do not use Source code links below, they are auto generated and broken.

Don't miss a new freetds release

NewReleases is sending notifications on new releases.