mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
78635d55fb
Functions like `add_lock_to_json` and `add_profile_item_to_json` pass some values to `json_add_int` with `intmax_t` types. This may cause arithmetic overflow when the value grows very fast, such as the read_bytes profiling data. Use `json_add_int` instead of `int` to avoid the overflow. RN: Make json output show intmax_t value properly Signed-off-by: Li Yuxuan <liyuxuan.darfux@bytedance.com> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Mar 9 21:33:43 UTC 2023 on atb-devel-224 |
||
---|---|---|
.. | ||
tests | ||
audit_logging.c | ||
audit_logging.h | ||
wscript_build |