Files
nats-server/server
Ivan Kozlovic 9f30bf00e0 [FIXED] Corrupted headers receiving from consumer with meta-only
When a consumer is configured with "meta-only" option, and the
stream was backed by a memory store, a memory corruption could
happen causing the application to receive corrupted headers.

Also replaced most of usage of `append(a[:0:0], a...)` to make
copies. This was based on this wiki:
https://github.com/go101/go101/wiki/How-to-efficiently-clone-a-slice%3F

But since Go 1.15, it is actually faster to call make+copy instead.

Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
2021-12-01 10:50:15 -07:00
..
2021-11-15 17:23:08 -07:00
2021-11-15 17:23:08 -07:00
2021-07-22 11:27:34 -04:00
2021-11-12 17:37:15 -08:00
2021-04-09 15:18:06 -07:00
2021-11-15 17:23:08 -07:00
2021-11-15 17:23:08 -07:00
2021-11-15 17:23:08 -07:00
2021-11-04 14:26:01 -07:00
2021-11-15 17:23:08 -07:00
2021-01-14 01:14:52 -08:00
2021-01-14 01:14:52 -08:00
2021-11-04 14:26:01 -07:00
2021-11-04 14:26:01 -07:00
2021-11-15 17:23:08 -07:00
2021-11-15 17:23:08 -07:00
2021-11-15 17:23:08 -07:00
2021-09-01 14:55:26 -07:00
2021-11-15 17:23:08 -07:00
2021-10-26 20:09:00 -07:00
2021-09-13 15:22:05 +03:00