View Single Post
Author Message
gabuch2
AlliedModders Donor
Join Date: Mar 2011
Location: Chile
Old 04-16-2020 , 22:48   [Question] String concatenation limit
Reply With Quote #1

Hello.

I'm trying to concatenate a very large string buffer, however, at one point the server is crashing due to segmentation fault. If I break early the plugin won't crash.

Is there a known limit or a safer method to do it?

Example code:
Code:
format(g_sResponseMessage, charsmax(g_sResponseMessage), "%s%s", g_sResponseMessage, message);
__________________
gabuch2 is offline