diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2020-08-25 23:46:16 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2020-08-26 00:00:24 +0100 |
commit | b48702e4bc17502952a7f14b616f40c8489a5a66 (patch) | |
tree | 9e03fd92a5e7374ce3f589184910f8a37ddce2ba | |
parent | 02666d929f12073a94aec905c00cd589abbf16d4 (diff) | |
download | gstreamer-plugins-bad-b48702e4bc17502952a7f14b616f40c8489a5a66.tar.gz |
sctp: usrsctp: increase DIAG_MSG_LEN to accomodate longer file path
Fixes "‘%s’ directive output truncated writing XX bytes into
a region of size NN [-Wformat-truncation=]" compiler warnings.
https://github.com/sctplab/usrsctp/pull/521
Fixes #1389
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1540>
-rw-r--r-- | ext/sctp/usrsctp/usrsctplib/netinet/sctp_constants.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/sctp/usrsctp/usrsctplib/netinet/sctp_constants.h b/ext/sctp/usrsctp/usrsctplib/netinet/sctp_constants.h index 5e2c5d160..66b3fa834 100644 --- a/ext/sctp/usrsctp/usrsctplib/netinet/sctp_constants.h +++ b/ext/sctp/usrsctp/usrsctplib/netinet/sctp_constants.h @@ -753,7 +753,7 @@ extern void getwintimeofday(struct timeval *tv); #define SCTP_DEFAULT_SPLIT_POINT_MIN 2904 /* Maximum length of diagnostic information in error causes */ -#define SCTP_DIAG_INFO_LEN 128 +#define SCTP_DIAG_INFO_LEN 256 /* ABORT CODES and other tell-tale location * codes are generated by adding the below |