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

backend

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Tom Lane authored
    miscomputation of required palloc size.  The crash could only occur if the
    input contained lexemes both with and without positions, which is probably not
    common in practice.  The miscomputation would definitely result in wasted
    space.  Also fix some inconsistent coding around alignment of strings and
    positions in a tsvector value; these errors could also lead to crashes given
    mixed with/without position data and a machine that's picky about alignment.
    And be more careful about checking for overflow of string offsets.
    
    Patch is only against HEAD --- I have not looked to see if same bugs are
    in back-branch contrib/tsearch2 code.
    bb36c51f
    History
    Name Last commit Last update
    ..