mem = malloc(memsize); if (!mem) return NULL; hash = mem; mem = hash + hsize; entry = mem; memset(hash, 0, hsize * sizeof(*hash)); /* allocate an array to count hash entries */ hash_count = calloc(hsize, sizeof(*hash_count)); ...
A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 1061...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian dist...
Breadcrumbs git / diff-delta.cTop File metadata and controls Code Blame 496 lines (443 loc) · 15.5 KB Raw /* * diff-delta.c: generate a delta between two buffers * * This code was greatly inspired by parts of LibXDiff from Davide Libenzi * http://www.xmailserver.org/xdiff-lib....
elsewhere. Avoid %= in save state load variable sanitizing code unless the variable is unsigned. malloc(), realloc(), calloc()'ing 0 bytes of memory may return a NULL pointer. memcpy()/memmove()/etc. with NULL pointers is undefined and bad even when length is 0. Careful to not do ...
mem = malloc(memsize); if (!mem) return NULL; hash = mem; mem = hash + hsize; entry = mem; memset(hash, 0, hsize * sizeof(*hash)); /* allocate an array to count hash entries */ hash_count = calloc(hsize, sizeof(*hash_count)); ...
mem = malloc(memsize); if (!mem) return NULL; hash = mem; mem = hash + hsize; entry = mem; memset(hash, 0, hsize * sizeof(*hash)); /* allocate an array to count hash entries */ hash_count = calloc(hsize, sizeof(*hash_count)); ...
Search or jump to... Search code, repositories, users, issues, pull requests... Provide feedback We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your...
Breadcrumbs git / diff-delta.cTop File metadata and controls Code Blame 496 lines (443 loc) · 15.5 KB Raw /* * diff-delta.c: generate a delta between two buffers * * This code was greatly inspired by parts of LibXDiff from Davide Libenzi * http://www.xmailserver.org/xdiff-lib....
Breadcrumbs git / diff-delta.cTop File metadata and controls Code Blame 496 lines (443 loc) · 15.5 KB Raw /* * diff-delta.c: generate a delta between two buffers * * This code was greatly inspired by parts of LibXDiff from Davide Libenzi * http://www.xmailserver.org/xdiff-lib....
sizeof(*entry) * entries; mem = malloc(memsize); if (!mem) return NULL; hash = mem; mem = hash + hsize; entry = mem;memset(hash, 0, hsize * sizeof(*hash));/* allocate an array to count hash entries */ hash_count = calloc(hsize, sizeof(*hash_count)); ...