1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-26 21:57:41 +03:00
Jeremy Allison ed1d7cbcc7 s3: lib: Fix two old, old bugs in set_conn_connectpath(), now in canonicalize_absolute_path().
Canonicalizing a path of /foo/bar/../baz would return /foo/barbaz
as moving forward 3 characters would delete the / character.

Canonicalizing /foo/.. would end up as '\0'.

Test to follow.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12531

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
(cherry picked from commit 82979afc46cc5e466bdd999a94080e7a5df95518)
2017-02-13 16:49:16 +01:00
..
2015-03-17 11:30:52 +01:00
2016-06-07 14:34:10 +02:00
2012-03-24 17:11:11 +01:00
2016-08-24 11:42:27 +02:00
2016-07-28 05:00:18 +02:00
2016-07-28 05:00:18 +02:00
2015-12-22 02:22:50 +01:00
2015-11-06 13:43:45 +01:00
2015-10-13 01:23:07 +02:00
2014-09-18 20:36:11 +02:00
2016-02-23 22:03:16 +01:00
2016-02-23 22:03:16 +01:00
2014-11-25 07:25:44 +01:00
2016-02-23 22:03:16 +01:00
2016-02-23 22:03:16 +01:00
2015-05-06 04:14:14 +02:00
2016-02-23 22:03:16 +01:00
2015-02-13 23:32:07 +01:00
2016-02-23 22:03:16 +01:00
2015-03-17 11:30:52 +01:00
2012-04-17 10:21:02 +02:00
2012-07-18 15:54:20 -07:00
2016-05-04 01:28:23 +02:00
2016-04-15 15:32:11 +02:00
2012-05-15 18:24:10 +02:00
2015-11-06 13:43:45 +01:00
2016-01-10 22:24:17 +01:00
2016-01-10 22:24:17 +01:00
2012-04-19 19:13:45 +02:00