Skip to content

kdb+ plugin uses unsafe C++ code #14

@FlyingOE

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
    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