Skip to content

error: format not a string literal and no format arguments  #72

@jenningsloy318

Description

@jenningsloy318
../../ukui-greeter/greeter/loginwindow.cpp:587:12: error: format not a string literal and no format arguments [-Werror=format-security]
  587 |     sprintf(str,_(ch));
      |     ~~~~~~~^~~~~~~~~~~

it popped error, I found https://stackoverflow.com/questions/9707569/c-array-warning-format-not-a-string-literal, but not sure if it is relevant.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions