Skip to content

Convert malloc + manual string building as appropriate to asprintf #1917

@bob-beck

Description

@bob-beck

Sweep the tree for patterns where strings are built by making an allocation and concatenating strings and other things together to a single asprintf call with appropriate error checking.

Ensure that in the case of string truncation that either an error ensues, or, that the truncated value is actually
safe.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueAny contractor might be able to do useful work here

    Type

    No type

    Projects

    Status

    Pre-Refinement

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions