Coffee With A Splash Of Cyber provides short cyber security-themed educational exercises that you can work through on one of your coffee breaks throughout the week. Open source code snippets, log files, other security or career scenarios will be presented every Monday morning. Take a look at the challenge and work through it on your own. On Friday, the solution is posted so you can check your work. Each exercise is intended to last between 5 and 15 minutes. Do it on one of your coffee breaks and you'll be on your way to developing your security skill set.
This week's challenge is a code review snippet as seen below.