Throwback to CPSC 213 where I learned about code vulnerability using C!
Fixed the vulnerabilty in the code by adding a check for negative indexing, which prevents the isAdmin variable from being overwritten (i.e., a regular user cannot change themselves to an admin)
Throwback to CPSC 213 where I learned about code vulnerability using C!
Log in or sign up for Devpost to join the conversation.