From 7f6e285430e8ec8109085a24978796fc99813498 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Thu, 12 May 2016 11:40:28 +0200 Subject: Fixed bug #72197 pg_lo_create arbitrary read --- ext/pgsql/tests/bug72197.phpt | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 ext/pgsql/tests/bug72197.phpt (limited to 'ext/pgsql/tests') diff --git a/ext/pgsql/tests/bug72197.phpt b/ext/pgsql/tests/bug72197.phpt new file mode 100644 index 0000000000..da52d8ea69 --- /dev/null +++ b/ext/pgsql/tests/bug72197.phpt @@ -0,0 +1,35 @@ +--TEST-- +Bug #72197 pg_lo_create arbitrary read +--SKIPIF-- + +--FILE-- + +==DONE== +--EXPECTF-- +Warning: pg_lo_create(): supplied resource is not a valid PostgreSQL link resource in %sbug72197.php on line %d +int(%d) +int(%d) +==DONE== + -- cgit v1.2.1