Ian Dowse
1a154a146c
Extract the path from an AF_LOCAL sockaddr_un in a way that correctly
...
terminates the string in all cases, based on code from netstat(1).
The path in a sockaddr_un is terminated either by a '\0', or by
the end of the sockaddr as defined by sun_len.
Previously, the code could write the "safety" '\0' beyond the end
of the sockaddr (sockaddr_un's need only be large enough to store
sun_len bytes), and writing into the the supplied sockaddr is bad
anyway.
2001-05-12 20:05:26 +00:00
..
2001-03-21 08:49:02 +00:00
2001-01-04 10:37:25 +00:00
2001-03-27 17:27:19 +00:00
2000-01-14 07:57:47 +00:00
1999-11-30 04:40:54 +00:00
2001-05-12 20:05:26 +00:00
2001-05-07 18:07:29 +00:00
2001-04-18 15:54:10 +00:00
2001-03-27 17:27:19 +00:00
2001-03-27 17:27:19 +00:00
2001-03-27 17:27:19 +00:00
2001-03-27 17:27:19 +00:00
2001-04-23 07:39:36 +00:00
2001-03-27 17:27:19 +00:00
2001-04-01 12:18:20 +00:00
2001-04-12 09:57:12 +00:00
2001-04-24 00:06:21 +00:00
2001-03-27 17:27:19 +00:00
2001-04-18 15:54:10 +00:00
1999-08-28 00:22:10 +00:00
2000-12-09 09:35:55 +00:00
2001-03-27 17:27:19 +00:00
2001-03-27 17:27:19 +00:00
2001-03-27 17:27:19 +00:00
2001-05-07 18:07:29 +00:00
2001-05-03 11:26:46 +00:00
2001-03-27 17:27:19 +00:00
2001-04-04 10:23:27 +00:00
2001-03-27 17:27:19 +00:00
2001-05-01 09:24:15 +00:00
2001-03-27 17:27:19 +00:00
2001-03-27 17:27:19 +00:00
2001-03-27 17:27:19 +00:00
2001-05-04 20:40:53 +00:00
2001-03-27 17:27:19 +00:00
2001-04-03 10:08:51 +00:00
2001-05-07 18:07:29 +00:00
2001-03-27 17:27:19 +00:00
1998-10-11 04:21:56 +00:00
2001-03-19 12:50:13 +00:00
2001-03-27 05:45:52 +00:00
2001-04-18 15:54:10 +00:00
2000-10-26 23:02:36 +00:00
2000-10-26 23:02:36 +00:00
2000-12-09 09:35:55 +00:00
2001-05-01 09:37:01 +00:00
2001-03-27 17:27:19 +00:00
2001-03-28 12:08:22 +00:00
2001-03-27 17:27:19 +00:00
2001-03-27 17:27:19 +00:00
2001-04-22 03:00:09 +00:00
2001-03-27 17:27:19 +00:00
2001-03-27 17:27:19 +00:00
2000-06-13 00:41:38 +00:00
1999-08-28 00:22:10 +00:00
2001-03-27 17:27:19 +00:00
2001-04-18 15:54:10 +00:00
2001-03-27 17:27:19 +00:00
2001-04-21 00:11:00 +00:00