Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

    q = password;
    while((*q = getchar()) != '\n')
        if(*q++ == '\0')
            return;
Notably, you don't actually need the password... Buffer overflow!


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: