[Numpy-discussion] How security holes happen

Charles R Harris charlesr.harris at gmail.com
Sun Mar 2 21:15:53 EST 2014


This is from OS X 9

    if ((err = SSLHashSHA1.update(&hashCtx, &serverRandom)) != 0)
        goto fail;
    if ((err = SSLHashSHA1.update(&hashCtx, &signedParams)) != 0)
        goto fail;
        goto fail;
    if ((err = SSLHashSHA1.final(&hashCtx, &hashOut)) != 0)
        goto fail;

Heh, maybe there is a reason for braces in even the simplest if statements.

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20140302/d022e061/attachment.html>


More information about the NumPy-Discussion mailing list