Release 2.13.1 - fix a few minor issues flagged by Coverity

This commit is contained in:
Dmitri Tikhonov 2020-03-12 10:54:58 -04:00
parent e57d2b2724
commit ea822d0d31
6 changed files with 11 additions and 5 deletions

View File

@ -1,9 +1,9 @@
2020-03-12
- 2.13.0
- 2.13.1
- [API] Use lsxpack_header structure to process incoming headers.
- [BUGFIX] Fix assertion when zero-padding Initial packet.
- [BUGFIX] Use idle timeout before we learn of peer's value.
- Use ls-hpack 2.0.0 -- has lsxpack_header changes.
- Use ls-hpack 2.0.1 -- has lsxpack_header changes.
- Use ls-qpack 0.14.0 -- new, common with ls-hpack, XXH seed (not
used yet).
- Code cleanup: prefix exported functions with "lsquic_".

View File

@ -26,7 +26,7 @@ author = u'LiteSpeed Technologies'
# The short X.Y version
version = u'2.13'
# The full version, including alpha/beta/rc tags
release = u'2.13.0'
release = u'2.13.1'
# -- General configuration ---------------------------------------------------

View File

@ -25,7 +25,7 @@ extern "C" {
#define LSQUIC_MAJOR_VERSION 2
#define LSQUIC_MINOR_VERSION 13
#define LSQUIC_PATCH_VERSION 0
#define LSQUIC_PATCH_VERSION 1
/**
* Engine flags:

View File

@ -3977,7 +3977,10 @@ synthesize_push_request (struct full_conn *conn, void *hset,
xhdr = conn->fc_enpub->enp_hsi_if->hsi_prepare_decode(hset,
NULL, extra);
if (!xhdr)
{
st = -__LINE__;
goto err;
}
memcpy(xhdr->buf + xhdr->name_offset, header->name.iov_base,
header->name.iov_len);
xhdr->name_len = header->name.iov_len;

View File

@ -3398,7 +3398,10 @@ ietf_full_conn_ci_push_stream (struct lsquic_conn *lconn, void *hset,
xhdr = conn->ifc_enpub->enp_hsi_if->hsi_prepare_decode(hset,
NULL, extra);
if (!xhdr)
{
header_st = -__LINE__;
goto header_err;
}
memcpy(xhdr->buf + xhdr->name_offset, header->name.iov_base,
header->name.iov_len);
xhdr->name_len = header->name.iov_len;

@ -1 +1 @@
Subproject commit 226eedeb9077c1f8b4c6eeb580c7989d458d1268
Subproject commit f483bed42c955d98400305296c91587c9d4b26ad