cvra / robot-software

CVRA monorepo - All software running on our bots lives here
MIT License
43 stars 21 forks source link

master-firmware: Fix buffer overflow #230

Closed francois-berder closed 5 years ago

SyrianSpock commented 5 years ago

@francois-berder we're curious to know, how did you spot the buffer overflow?

francois-berder commented 5 years ago

@SyrianSpock Simple ! I ran cppcheck on the source code. I think the command was:

$ cppcheck --enable=warning --quiet master-firmware