Earlier quoted context omitted.
Guns don't kill people, people kill people.
Pointers kill people
ATM NFC Hack
21–30 of 37 posts
Re: ATM NFC Hack
#22Yet another buffer overflow. Probably the software is written by some C/C++ developers who swear that those never occur in their code. Given the large number of security problems that have been caused by buffer overflows and similar problems, I find it very sad that any programs that need security are still written in C/C++.
If you can’t be trusted to handle basic, simple non-creative tasks like managing memory and buffers you are not actually a professional programmer, though you might have convinced an employer otherwise.
Re: ATM NFC Hack
#23Re: ATM NFC Hack
#24Re: ATM NFC Hack
#25Earlier quoted context omitted.
If you can’t be trusted to handle basic, simple non-creative tasks like managing memory and buffers you are not actually a professional programmer, though you might have convinced an employer otherwise.
Often it's the employer encouraging the programmers to cut corners.
It's the "fault" of the programmer, but the language makes it very easy to make these faults, so I'd say it's the fault of the language.
Re: ATM NFC Hack
#26You might score north of $10K if you're lucky and/or hit a few. But given all the cameras on and around an ATM this would be a quick way to living your life looking over your shoulder.
Re: ATM NFC Hack
#27Terminator 2 ATM hacking scene, except by waving a phone.
Re: ATM NFC Hack
#28Yet another buffer overflow. Probably the software is written by some C/C++ developers who swear that those never occur in their code. Given the large number of security problems that have been caused by buffer overflows and similar problems, I find it very sad that any programs that need security are still written in C/C++.
C/C++ isn't the issue, it's the lack of not using memory-safe features like smart pointers which you'll need C++ for.
In the real world, smart pointers help a lot and are a great idea but they don't fully solve the problem in the same way that Rust or memory safe languages do.
Re: ATM NFC Hack
#29Earlier quoted context omitted.
If you can’t be trusted to handle basic, simple non-creative tasks like managing memory and buffers you are not actually a professional programmer, though you might have convinced an employer otherwise.
By this logic no C or C++ developer in history is a professional programmer. Approximately zero non-trivial programs have been written in C or C++ without memory management problems and/or vulnerabilities.
Look up software verification. There are verifiers for C.
Re: ATM NFC Hack
#30Earlier quoted context omitted.
C/C++ isn't the issue, it's the lack of not using memory-safe features like smart pointers which you'll need C++ for.
While you're technically correct, your ignoring the pragmatic truth: most developers are terrible and should never write code. Because of this reality, C/C++ and all its footguns are something to be avoided unless there is no other alternative (usually this happens when integrating with legacy software or in industries like gaming where the switching costs are extreme).
This makes no sense. It just sounds like Go.