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

event_trigger.c

Blame
    • Noah Misch's avatar
      ff53890f
      Don't use ordinary NULL-terminated strings as Name datums. · ff53890f
      Noah Misch authored
      Consumers are entitled to read the full 64 bytes pertaining to a Name;
      using a shorter NULL-terminated string leads to reading beyond the end
      its allocation; a SIGSEGV is possible.  Use the frequent idiom of
      copying to a NameData on the stack.  New in 9.3, so no back-patch.
      ff53890f
      History
      Don't use ordinary NULL-terminated strings as Name datums.
      Noah Misch authored
      Consumers are entitled to read the full 64 bytes pertaining to a Name;
      using a shorter NULL-terminated string leads to reading beyond the end
      its allocation; a SIGSEGV is possible.  Use the frequent idiom of
      copying to a NameData on the stack.  New in 9.3, so no back-patch.