mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-01 06:42:01 +01:00
This moves all packages from testing to unmaintained which have not been updated for atleast 6 months. If you are affected by this commit please follow this proceddure: * make sure your packages build on all architectures * move your pacakge(s) back to testing * if you want to keep this package and can maintain it (or find somebody to maintain it for you) for a minimum of 6 months ask it to be moved to community
17 lines
433 B
Diff
17 lines
433 B
Diff
Author: Luciano Bello <luciano@debian.org>
|
|
Description: Patch provided by Hilko Bengen. #609988.
|
|
--- a/decode_tds.c
|
|
+++ b/decode_tds.c
|
|
@@ -144,6 +144,11 @@
|
|
len > sizeof(*th) && len >= ntohs(th->size);
|
|
buf += ntohs(th->size), len -= ntohs(th->size)) {
|
|
|
|
+ if (th->size != 8) {
|
|
+ /* wrong header length */
|
|
+ break;
|
|
+ }
|
|
+
|
|
if (th->type == 2) {
|
|
/* Version 4.x, 5.0 */
|
|
if (len < sizeof(*th) + sizeof(*tl))
|