1
0
mirror of https://github.com/libuv/libuv synced 2025-03-28 21:13:16 +00:00
Ben Noordhuis 1eac3310ad
linux: support abstract unix socket autobinding (#4499)
Autobinding is a feature that lets the kernel pick a name for the
abstract socket, instead of userspace having to provide one.

Two bugs that this change exposed are also fixed:

1. strlen(sa.sun_path) can read past the end if the file path is exactly
   sizeof(sa.sun_path) long (use memchr instead), and

2. don't return UV_ENOBUFS for abstract sockets when the buffer is
   exactly large enough to hold the result; per commit e5f4b79809,
   abstract socket names are not zero-terminated
2024-08-10 21:04:09 +02:00
..
2020-03-27 23:51:32 +01:00
2011-04-19 04:47:21 +02:00
2011-04-19 04:47:21 +02:00
2024-08-05 17:15:53 -04:00