Check malloc() return value on client->server ClientCutText message. Client can send up to 2**32-1 bytes of text, and such a large allocation is likely to fail in case of high memory pressure. This would in a server crash (write at address 0).
parent
7c9ef6372d
commit
6037a9074d
Loading…
Reference in New Issue