openssl/project

Convert malloc + manual string building as appropriate to asprintf

Aperta

#1917 aperta il 30 mar 2026

 (1 commento) (0 reazioni) (0 assegnatari) (1 fork)auto 404
good first issue

Metriche repository

Star
 (3 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor