Skip to content

SNIConfigParams::get seems to be leaking in some scenarios. (tunnel_route) #8564

Closed

Description

@brbzull0

Adding this issue here so I don't forget to fix it.

SNIConfigParams::get seems to be leaking on some scenarios, i.e.: When there is more than one matched subgroup, only the last group is released.

example:

sni:
- fqdn: '*.ok.*.com'",
  tunnel_route: $2.example.$1.com"

The code will allocate memory for two subgroups and only release the last one.

This needs to be fixed and possibly we can work some improvements on the very same function function.

Activity

  1. self-assigned this
    on Dec 26, 2021
  2. changed the title [-]SNIConfigParams::get seems to be leaking in some scenarios.[/-] [+]SNIConfigParams::get seems to be leaking in some scenarios. (tunnel_route)[/+] on Jan 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions