• Show log

    Commit

  • Hash : 3603cb09
    Author : Edward Thomson
    Date : 2015-02-10T23:13:49

    git__*allocarray: safer realloc and malloc Introduce git__reallocarray that checks the product of the number of elements and element size for overflow before allocation. Also introduce git__mallocarray that behaves like calloc, but without the `c`. (It does not zero memory, for those truly worried about every cycle.)