Comment

Comment by mynameisbahaa

I think the programmer should have supplied the length of the "computed_hash" not the "response" which as I understood supplied by the user. Like this : strncmp(computed_hash, response, computed_hash_length)

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton