]> git.ipfire.org Git - thirdparty/freeswitch.git/commit
[mod_curl] Increase argument limit and enforce max args constraint 2727/head
authorAron Podrigal <aronp@guaranteedplus.com>
Tue, 14 Jan 2025 22:47:35 +0000 (16:47 -0600)
committerAndrey Volk <andywolk@gmail.com>
Tue, 14 Jan 2025 23:41:23 +0000 (02:41 +0300)
commite359409cae6feb6a8748f14ecd714a342653f0fc
tree6be30125d7e9152c222566d9ea0cff906c1d538b
parente9be0fab8a2cb68b8de886588953675d533bede7
[mod_curl] Increase argument limit and enforce max args constraint

Introduced a configurable limit on the number of arguments for mod_curl functions with a default of 30. Adjusted the code to handle scenarios exceeding this limit by logging an error and returning failure. This improves flexibility and prevents potential overflow issues.
src/mod/applications/mod_curl/mod_curl.c