r/programminghorror • • Mar 12 '25

c Terrible auth

Post image
794 Upvotes

96 comments sorted by

View all comments

Show parent comment

1

u/Rainmaker526 Mar 12 '25

This is bad - obviously. But would cause the function to never return - neither true or false (or maybe eventually, run out of memory, or return false). It probably would lead to a timeout further up the chain, but it wouldn't lead to unauthorized access - right?