openssl/project

Convert malloc + manual string building as appropriate to asprintf

Open

#1,917 opened on Mar 30, 2026

View on GitHub
 (1 comment) (0 reactions) (0 assignees) (1 fork)auto 404
good first issue

Repository metrics

Stars
 (3 stars)
PR merge metrics
 (PR metrics pending)

Description

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.

Contributor guide