1
0
mirror of https://github.com/tmate-io/tmate-ssh-server.git synced 2020-11-18 19:53:51 -08:00
Tiago Cunha 0646b3caf2 Sync OpenBSD patchset 680:
Remove XXX comment and just close received fd if calloc() fails.

If this happens the imsg may no longer be usable as there may be queued
messages, but this is a) already the case with the code now, and b)
would be the case if recvmsg() fails anyway, so we can document that -1
from imsg_read() invalidates the struct imsgbuf.

discussed with and ok eric
2010-04-12 21:45:18 +00:00
..
2008-09-26 06:45:28 +00:00
2009-05-14 07:51:51 +00:00
2009-04-29 22:45:32 +00:00
2009-08-09 18:35:38 +00:00
2009-09-15 23:59:40 +00:00
2010-04-12 21:45:18 +00:00
2009-09-15 23:59:40 +00:00
2007-10-31 14:26:26 +00:00
2009-07-02 07:31:02 +00:00
2007-10-31 14:26:26 +00:00
2007-10-31 14:26:26 +00:00
2009-08-16 16:15:53 +00:00
2007-10-31 14:26:26 +00:00
2009-05-26 18:31:10 +00:00
2009-08-09 15:39:41 +00:00
2009-06-25 20:27:32 +00:00