BUG #19423: canonicalize_path does not function correctly when processing paths that contain . and .. - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #19423: canonicalize_path does not function correctly when processing paths that contain . and ..
Date
Msg-id 19423-a45c4524977e1704@postgresql.org
Whole thread Raw
Responses Re: BUG #19423: canonicalize_path does not function correctly when processing paths that contain . and ..
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      19423
Logged by:          SHIQI LI
Email address:      1003931418@qq.com
PostgreSQL version: 14.22
Operating system:   linux
Description:

When the input parameter path of the function is
/tmp/root_hack4_test_tablespace/./../../test, the expected result after
processing by canonicalize_path is /test, but the actual result remains
/tmp/root_hack4_test_tablespace/./../../test.
The implementation of this function differs significantly between version
14, version 15, and later versions.





pgsql-bugs by date:

Previous
From: Michael Paquier
Date:
Subject: Re: BUG #19422: Malformed raius packet
Next
From: "Hayato Kuroda (Fujitsu)"
Date:
Subject: RE: [BUG] Assert failure in ReorderBufferReturnTXN during logical decoding due to leaked specinsert change