jca eacaf6c8d1 Fix hba with IPv6 connections.
The incorrect code was generating memcpy calls with src and dest
overlapping, which raises SIGABRT, making the server unreachable
using IPv6.  The fix consists in passing the right parameters to
memcpy, including sizeof(struct sockaddr_in) as len, since
sizeof(struct sockaddr_storage) would be too much, and sa_len
is unusable in netmask sockaddrs.  Debugged with sthen@ and lteo@

Problem reported by Hugo Osvaldo Barrera.

ok sthen@
2015-02-17 12:43:08 +00:00
..
2013-08-26 09:37:52 +00:00
2013-09-20 21:12:44 +00:00
2014-11-01 19:29:54 +00:00
2014-12-02 20:44:33 +00:00
2014-12-15 15:14:34 +00:00
2015-01-09 11:32:11 +00:00
2015-02-04 09:06:16 +00:00
2014-09-16 12:15:23 +00:00
2014-03-28 07:38:08 +00:00
2015-01-12 20:57:55 +00:00
2014-10-04 19:17:06 +00:00
2014-11-30 20:54:04 +00:00
2013-03-11 02:52:04 +00:00
2015-01-30 18:43:12 +00:00
2014-09-07 18:11:07 +00:00
2014-12-06 14:33:51 +00:00
2014-05-13 14:00:45 +00:00
2013-03-11 02:52:04 +00:00
2014-07-12 15:35:53 +00:00
2014-05-15 14:06:59 +00:00
2014-12-22 14:07:36 +00:00
2015-01-21 00:08:38 +00:00
2015-01-19 07:14:29 +00:00
2014-12-18 22:39:19 +00:00
2014-12-26 09:17:38 +00:00
2014-12-06 15:58:59 +00:00
2014-07-10 20:02:41 +00:00
2014-10-24 15:01:17 +00:00
2013-08-10 16:07:50 +00:00
2014-05-27 12:32:19 +00:00
2013-04-22 15:53:37 +00:00
2014-09-07 18:11:07 +00:00
2015-02-17 12:43:08 +00:00
2014-12-07 19:24:10 +00:00
2013-03-11 02:52:04 +00:00
2014-12-28 19:48:03 +00:00
2014-09-29 19:39:53 +00:00
2014-01-28 19:52:52 +00:00
2014-09-16 07:14:14 +00:00
2013-10-30 10:45:12 +00:00
2013-03-11 02:52:04 +00:00
2014-12-17 08:52:16 +00:00
2014-10-17 18:00:35 +00:00
2015-01-08 19:00:19 +00:00
2015-02-01 17:59:35 +00:00
2014-07-09 17:13:26 +00:00
2014-07-10 07:37:32 +00:00
2014-11-04 10:44:33 +00:00
2014-06-07 10:48:39 +00:00
2014-09-07 18:50:32 +00:00
2014-09-07 18:50:54 +00:00
2014-05-09 11:40:12 +00:00