Skip to content
Snippets Groups Projects
Select Git revision
  • benchmark-tools
  • postgres-lambda
  • master default
  • REL9_4_25
  • REL9_5_20
  • REL9_6_16
  • REL_10_11
  • REL_11_6
  • REL_12_1
  • REL_12_0
  • REL_12_RC1
  • REL_12_BETA4
  • REL9_4_24
  • REL9_5_19
  • REL9_6_15
  • REL_10_10
  • REL_11_5
  • REL_12_BETA3
  • REL9_4_23
  • REL9_5_18
  • REL9_6_14
  • REL_10_9
  • REL_11_4
23 results

enum.c

  • Tom Lane's avatar
    71627f3d
    Fix CVE-2013-0255 properly. · 71627f3d
    Tom Lane authored
    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.
    71627f3d
    History
    Fix CVE-2013-0255 properly.
    Tom Lane authored
    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.