3 ms·
From reading the description, I get the feeling that this is nowhere near as severe as e.g. Heartbleed, right? IMHO dynamic allocation is something that is oft
by userbinator 11y ago
From reading the description, I get the feeling that this is nowhere near as severe as e.g. Heartbleed, right?
IMHO dynamic allocation is something that is often overused, and the fact that it could fail leads to another error path that might be exploitable, like this one. I don't think it's necessary for a printf-like function to ever use dynamic allocation. (If there are cases where it's necessary, I would love to know more... and perhaps suggest how it could be avoided.)