Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 23122ab

Browse files
committed
1 parent 90e90e9 commit 23122ab

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

expected/pathman_CVE-2020-14350.out

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ DROP TABLE IF EXISTS test1 CASCADE;
99
DROP TABLE IF EXISTS test2 CASCADE;
1010
DROP ROLE IF EXISTS regress_hacker;
1111
SET client_min_messages = 'notice';
12+
GRANT CREATE ON SCHEMA public TO PUBLIC;
1213
CREATE EXTENSION pg_pathman;
1314
CREATE ROLE regress_hacker LOGIN;
1415
-- Test 1

sql/pathman_CVE-2020-14350.sql

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ DROP TABLE IF EXISTS test1 CASCADE;
1010
DROP TABLE IF EXISTS test2 CASCADE;
1111
DROP ROLE IF EXISTS regress_hacker;
1212
SET client_min_messages = 'notice';
13+
GRANT CREATE ON SCHEMA public TO PUBLIC;
1314

1415
CREATE EXTENSION pg_pathman;
1516
CREATE ROLE regress_hacker LOGIN;

0 commit comments

Comments
 (0)