Skip to content

Warning on 'sprintf' while compiling.  #60

Closed
@ernestguillem

Description

@ernestguillem

While compiling picotool with macOS I get the following warning:
warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]

Is this kept for compatibility reasons or would it be ok to submit a pullrequest with the snprintf variant?

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