3 ms·
q = password; while((*q = getchar()) != '\n') if(*q++ == '\0') return; Notably, you don't actually need the password... Buffer overflow
by zx2c4 14y ago
q = password;
while((*q = getchar()) != '\n')
if(*q++ == '\0')
return;
Notably, you don't actually need the password... Buffer overflow!