Skip to content

privileges loop: Panic (Stack overflow) #792

Description

@saimikiry

Hello! I’ve found a bug similar to this previously fixed issue: #712

Any circular dependency in the privileges block causes the program to crash due to a stack overflow:
Image

To reproduce the issue, you can use the standard configuration file with the following modification:

# `rw` privilege group lists write-only grants
  rw:
  - rw
  - __all_on_tables__
  - __all_on_sequences__

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions