[OpenSIPS-Devel] [OpenSIPS/opensips] c1b231: json: Fix handling for long integers

Liviu Chircu noreply at github.com
Tue Dec 10 10:11:28 UTC 2024


  Branch: refs/heads/3.5
  Home:   https://github.com/OpenSIPS/opensips
  Commit: c1b23178a3a0535ee66bafcd36a0c3df8cdab3c3
      https://github.com/OpenSIPS/opensips/commit/c1b23178a3a0535ee66bafcd36a0c3df8cdab3c3
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2024-12-10 (Tue, 10 Dec 2024)

  Changed paths:
    M modules/json/doc/json_admin.xml
    M modules/json/json.c

  Log Message:
  -----------
  json: Fix handling for long integers

This patch adds the "enable_long_quoting" modparam (default: OFF), which
causes larger integers to be returned as strings, in order to avoid the
integer overflow and data loss.

(cherry picked from commit b191025b75afb07b96562f730a8e9631c8ea35fa)

Author: Vlad Paiu <vladpaiu at opensips.org>
Add support for bigints ( store as string when exposing to opensips script )

(cherry picked from commit f324a1a432b02137cab73978fe5df5e11005d938)

Author: Vlad Paiu <vladpaiu at opensips.org>
Fixed undefined int_value

(cherry picked from commit ae113c7271ef0a5baa4674972d3b713ac6def6c7)



To unsubscribe from these emails, change your notification settings at https://github.com/OpenSIPS/opensips/settings/notifications



More information about the Devel mailing list