Speaker note: Quiz-1 week: we review the concepts of weeks 1-6; this deck is a study guide.
Speaker note: 1) sprintf overflow (STR31-C, use snprintf) + syslog format string (FIO30-C, use "%s"). 2) memset can be removed by the compiler (MSC06-C) → use explicit_bzero/SecureZeroMemory.
Speaker note: 1) SQL injection → use a PreparedStatement. 2) The plaintext is used before the tag is verified, and the return value of Final is never checked. 3) Fail-open: the error is swallowed and the connection is accepted.
Speaker note: Answers are on the Week 8 page, in collapsible boxes.
Speaker note: Quiz-1 covers weeks 1-6. We review each week's key points and the most commonly confused distinctions.