Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: postgresql-cfbot/postgresql
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: cf/5707~1
Choose a base ref
...
head repository: postgresql-cfbot/postgresql
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: cf/5707
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Apr 29, 2025

  1. Detect buffer underflow in get_th()

    If get_th() can receive input that is not a number,
    then it can also receive empty input.
    
    Empty input with zero length can result in a buffer underflow
    when accessing *(num + (len - 1)), as (len - 1) would produce a negative index.
    Add a check for zero-length input to prevent it.
    
    This was found by ALT Linux Team.
    almkuznetsov authored and Commitfest Bot committed Apr 29, 2025
    Configuration menu
    Copy the full SHA
    4fc5160 View commit details
    Browse the repository at this point in the history
  2. [CF 5707] Detect buffer underflow in get_th()

    This branch was automatically generated by a robot using patches from an
    email thread registered at:
    
    https://commitfest.postgresql.org/patch/5707
    
    The branch will be overwritten each time a new patch version is posted to
    the thread, and also periodically to check for bitrot caused by changes
    on the master branch.
    
    Patch(es): https://www.postgresql.org/message-id/[email protected]
    Author(s): Alexander Kuznetsov
    Commitfest Bot committed Apr 29, 2025
    Configuration menu
    Copy the full SHA
    9891cce View commit details
    Browse the repository at this point in the history
Loading