News for hackers. Stuff that matters.
Re:Steam hit by major security breach by mikeash on Monday July 27, 2015 @11:43AM (#9955822)
A "goto fail" style bug could allow for blankness but not truncatedness. Basic idea:

    if(!check_params()) {
        failed = true;
        goto fail;
    }
    if(some_other_check()) {
        failed = true;
        goto fail;
    }
    if(token_length == 0) {
        goto fail; // oops, forgot to set failed
    }
    ...check the token...
    fail:
    if(failed) {
        return auth_failure;
    }
I have no idea if this is anything like what actually happened, of course.

There are no comments on this comment yet.