File: security.out

package info (click to toggle)
postgresql-rum 1.3.15-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,928 kB
  • sloc: ansic: 29,212; sql: 3,876; perl: 250; makefile: 75; sh: 65
file content (17 lines) | stat: -rw-r--r-- 630 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * ------------------------------------
 *  NOTE: This test behaves differenly
 * ------------------------------------
 *
 * Since 774171c4f64 (>=18) reporting of errors in extension script files
 * is more detailed.
 *
 * security.out - test output for PostgreSQL (<18)
 * security_1.out - test output for PostgreSQL (>=18)
 *
 */
-- Check security CVE-2020-14350
CREATE FUNCTION rum_anyarray_similar(anyarray,anyarray) RETURNS bool AS $$ SELECT false $$ LANGUAGE SQL;
CREATE EXTENSION rum;
ERROR:  function "rum_anyarray_similar" already exists with same argument types
DROP FUNCTION rum_anyarray_similar(anyarray,anyarray);