It's weird that over the course of 7 hours no one on a site called Hacker News noticed that send_email.cpp passes unsanitized user-supplied args to system(). I've spent less than 5 minutes looking at this code, so maybe that's the worst of it. But if 5 minutes of investigation found 1980's style bugs I doubt that's the worst of it.
xapata|9 years ago
Complaining about bad data in that situation is like complaining that an admin could hit the power switch.
Or maybe I've completely misunderstood the purpose of this software.
Steeeve|9 years ago
1) The user isn't always the one providing user input.
2) When the user does provide input, the user isn't always smart.
3) Users do things that you never would have conceived.
Unsanitized system() calls are even worse than leaving your system wide open to a sql inection attack.
nul_byte|9 years ago
tedunangst|9 years ago
jacobwcarlson|9 years ago
yunolisten|9 years ago
floats to represent currency?
https://github.com/butor/blackbird/issues/118
ryanlol|9 years ago