Skip to content
Snippets Groups Projects
Commit 7aa0fbdf authored by Peter Limkilde Svendsen's avatar Peter Limkilde Svendsen
Browse files

Include stdint.h in test

parent 8b7453ed
No related branches found
No related tags found
1 merge request!188add calloc integer overflow check
#include <malloc.h> #include <malloc.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdint.h> /* for SIZE_MAX */
int main(int argc, char ** argv) { int main(int argc, char ** argv) {
char * ptr = (char *)malloc(256); char * ptr = (char *)malloc(256);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment