BUG #19423: canonicalize_path does not function correctly when processing paths that contain . and ..

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: 1003931418(at)qq(dot)com
Subject: BUG #19423: canonicalize_path does not function correctly when processing paths that contain . and ..
Date: 2026-03-03 07:27:44
Message-ID: 19423-a45c4524977e1704@postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 19423
Logged by: SHIQI LI
Email address: 1003931418(at)qq(dot)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.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Hayato Kuroda (Fujitsu) 2026-03-03 07:33:13 RE: [BUG] Assert failure in ReorderBufferReturnTXN during logical decoding due to leaked specinsert change
Previous Message Michael Paquier 2026-03-03 07:20:37 Re: BUG #19422: Malformed raius packet