FFFF
Skip to content

kdb+ plugin uses unsafe C++ code #14

Description

@FlyingOE

Assigning the result of str.c_str() to a pointer to be used later is against the C++ standard and is not safe. For example:

char* host = const_cast<char*>(hostStr.c_str());

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

    0