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

interfaces

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Tom Lane authored
    Whenever this function is used with the FORMAT_MESSAGE_FROM_SYSTEM flag,
    it's good practice to include FORMAT_MESSAGE_IGNORE_INSERTS as well.
    Otherwise, if the message contains any %n insertion markers, the function
    will try to fetch argument strings to substitute --- which we are not
    passing, possibly leading to a crash.  This is exactly analogous to the
    rule about not giving printf() a format string you're not in control of.
    
    Noted and patched by Christian Ullrich.
    Back-patch to all supported branches.
    b4b06931
    History
    Name Last commit Last update
    ..