Skip to content

Instantly share code, notes, and snippets.

@rikaardhosein
Created April 22, 2012 21:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rikaardhosein/2466932 to your computer and use it in GitHub Desktop.
Save rikaardhosein/2466932 to your computer and use it in GitHub Desktop.
av_malloc_p1
/* let's disallow possible ambiguous cases */
if (size > (max_alloc_size-32))
return NULL;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment