-
- Downloads
Fix CVE-2013-0255 properly.
Revert commit ab0f7b60 (in HEAD only) in favor of the proper solution, which is to declare enum_recv() correctly in the system catalogs. It should be declared to take type "internal" not "cstring". Also improve the type_sanity regression test, which should have caught this typo, so that it actually would. Most of the relevant checks on the signature of type I/O functions should not have been restricted to basetypes/pseudotypes, as they should apply to any type's I/O functions.
Showing
- src/backend/utils/adt/enum.c 0 additions, 5 deletionssrc/backend/utils/adt/enum.c
- src/include/catalog/catversion.h 1 addition, 1 deletionsrc/include/catalog/catversion.h
- src/include/catalog/pg_proc.h 1 addition, 1 deletionsrc/include/catalog/pg_proc.h
- src/test/regress/expected/type_sanity.out 10 additions, 6 deletionssrc/test/regress/expected/type_sanity.out
- src/test/regress/sql/type_sanity.sql 10 additions, 6 deletionssrc/test/regress/sql/type_sanity.sql
Loading
Please register or sign in to comment