Skip to content

asprintf is a good thing. We should have it. #1914

@bob-beck

Description

@bob-beck

Some of the stuff in openssl/openssl#30575 reminded me of this.

So I added OPENSSL_asprintf() to boring a while back in https://boringssl.googlesource.com/boringssl/+/350f8547cf2101669684ebdb99b49b11fff5e217

Libre has used it since it's inception, and many malloc; strcpy; strcat, strcpy, ... paradigms were
simplified with one call doing the right thing that includes the allocation.

I'm happy to add it, but I might tag the noble sir @esyr to do it since this is their area ;)

Metadata

Metadata

Assignees

Labels

triaged: featureThis is a feature/enchancement request

Projects

Status

Pre-Refinement

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions