Closed asn-d6 closed 11 years ago
The contents of the first argument of asprintf() are undefined if the call fails. create_account_name() seems to think that 'accname' will be NULL if the call fails, which is wrong.
Check out http://blogs.23.nu/ilja/2006/10/antville-12995/ for more details.
Also, check the codebase for more similar uses of asprintf().
The contents of the first argument of asprintf() are undefined if the call fails. create_account_name() seems to think that 'accname' will be NULL if the call fails, which is wrong.
Check out http://blogs.23.nu/ilja/2006/10/antville-12995/ for more details.
Also, check the codebase for more similar uses of asprintf().