Skip to content

Make a copy of the parameter names that are put into the cache #441

@olavloite

Description

@olavloite

The parameter names that are put into the statement cache should be copied before being added to the cache, to prevent accidental external modification of the slice, as the same slice is also returned from the function.

See #427 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions