Check malloc() return value on client->server ClientCutText message. Client...
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).
Showing
Please
register
or
sign in
to comment