Skip to content

Use strncpy instead of strcpy #211

Description

@tgulacsi

I've got an AI slop report about usage of strcpy in godror (embedded ODPI-C).
It's 99% moot, but one place strcpy is used to copy user-supplied string (encoding).

The attached patch changes the use of strcpy to strncpy.

Use as you wish.

strcpy.patch

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions