Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbef9b00

Browse files
committed
1 parentf9fbf62 commitbef9b00

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

‎Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ RELATIVE_INCLUDES = $(addprefix src/, $(INCLUDES))
2525

2626
LDFLAGS_SL +=$(filter -lm,$(LIBS))
2727

28-
REGRESS = rum rum_validate rum_hash ruminv timestamp orderby orderby_hash\
28+
REGRESS =securityrum rum_validate rum_hash ruminv timestamp orderby orderby_hash\
2929
altorder altorder_hash limits\
3030
int2 int4 int8 float4 float8 money oid\
3131
time timetz date interval\

‎expected/security.out

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
-- Check security CVE-2020-14350
2+
CREATE FUNCTION rum_anyarray_similar(anyarray,anyarray) RETURNS bool AS $$ SELECT false $$ LANGUAGE SQL;
3+
CREATE EXTENSION rum;
4+
ERROR: function "rum_anyarray_similar" already exists with same argument types
5+
DROP FUNCTION rum_anyarray_similar(anyarray,anyarray);

‎sql/security.sql

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
-- Check security CVE-2020-14350
2+
CREATEFUNCTIONrum_anyarray_similar(anyarray,anyarray) RETURNS boolAS $$SELECT false $$ LANGUAGE SQL;
3+
CREATE EXTENSION rum;
4+
DROPFUNCTION rum_anyarray_similar(anyarray,anyarray);
5+

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp