[OpenSIPS-Devel] [OpenSIPS/opensips] 05115c: modules: fix array termination in cmd_export_t
Răzvan Crainea
noreply at github.com
Fri Jan 14 09:55:40 UTC 2022
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: 05115c42e40bc54c2210a1ab5b89607383e18343
https://github.com/OpenSIPS/opensips/commit/05115c42e40bc54c2210a1ab5b89607383e18343
Author: Razvan Crainea <razvan at opensips.org>
Date: 2022-01-14 (Fri, 14 Jan 2022)
Changed paths:
M modules/db_text/dbtext.c
M modules/proto_ws/proto_ws.c
M modules/proto_wss/proto_wss.c
Log Message:
-----------
modules: fix array termination in cmd_export_t
Terminate the commands array with an NULL entry, as this breaks on some
architectures that do add enough padding after the structure, and
allocates it right next to the following structure.
Many thanks to Dan Jenkins (@danjenkins) for reporting it!
More information about the Devel
mailing list