I read the source code and find that the return value of malloc is not checked. Please check whether the check is required.
Description
Description
Revisions and Commits
Revisions and Commits
rG GnuPG | |||
rG23bb92b755b5 common: Fix malloc nit in regression test. |
Event Timeline
Comment Actions
You are right, it is a bad habit not to check this. Thanks for your patch.
For this regression test tool I think using an xmalloc is easier. And the boilerplate is also missing. Fixed in master (new development branch).