[sr-dev] [kamailio/kamailio] Bad content-length header value after invoking uac_auth() (Issue #3275)

Ay notifications at github.com
Thu Nov 3 14:31:42 CET 2022


Kamailio itself also discovers the faulty header value when and if it grows above the allowed integer size. In this example it even concatenated the value 3 times:

2022-11-03 13:42:58 | 28(53) ERROR: {Thu Nov  3 12:42:58 2022 1 17733 INVITE 9326c0d2-2653-4041-8977-eecf1827a79c} <core> [core/parser/msg_parser.c:340]: parse_headers(): bad header field [**Content-Length: 129712971297**Show context
-- | --
  |   | 2022-11-03 13:42:58 | 28(53) DEBUG: {Thu Nov  3 12:42:58 2022 1 17733 INVITE 9326c0d2-2653-4041-8977-eecf1827a79c} <core> [core/parser/msg_parser.c:281]: get_hdr_field(): error exit
  |   | 2022-11-03 13:42:58 | 28(53) ERROR: {Thu Nov  3 12:42:58 2022 1 17733 INVITE 9326c0d2-2653-4041-8977-eecf1827a79c} <core> [core/parser/msg_parser.c:182]: get_hdr_field(): bad content_length header
  |   | 2022-11-03 13:42:58 | 28(53) ERROR: {Thu Nov  3 12:42:58 2022 1 17733 INVITE 9326c0d2-2653-4041-8977-eecf1827a79c} <core> [core/parser/parse_content.c:276]: parse_content_length(): parse error near char [57][9]
  |   | 2022-11-03 13:42:58 | 28(53) ERROR: {Thu Nov  3 12:42:58 2022 1 17733 INVITE 9326c0d2-2653-4041-8977-eecf1827a79c} <core> [core/parser/parse_content.c:237]: parse_content_length(): content **lenght** value is too large


-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3275#issuecomment-1302120576
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/issues/3275/1302120576 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20221103/fbfdb782/attachment.htm>


More information about the sr-dev mailing list