File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 351351 <arg nr =" 1" direction =" out" >
352352 <not-null/>
353353 </arg>
354- <formatstr/>
355354 <arg nr =" 2" direction =" in" >
356355 <formatstr/>
357356 <not-uninit/>
358357 </arg>
359- <arg nr =" 3" >
358+ <arg nr =" 3" direction = " in " >
360359 <not-uninit/>
360+ <not-bool/>
361361 </arg>
362362 </function>
363363 <!-- http://man7.org/linux/man-pages/man2/accept.2.html -->
Original file line number Diff line number Diff line change 1111#include <stdlib.h>
1212#include <stdint.h>
1313#include <stdio.h>
14+ #include <stdarg.h>
1415#include <sys/time.h>
1516#ifndef __CYGWIN__
1617#include <sys/epoll.h>
@@ -87,7 +88,7 @@ int no_resourceLeak_mkostemp_02(char *template, int flags)
8788 return mkostemp (template , flags );
8889}
8990
90- void valid_code (int argInt1 )
91+ void valid_code (int argInt1 , va_list valist_arg )
9192{
9293 char * p ;
9394
@@ -111,6 +112,11 @@ void valid_code(int argInt1)
111112 __builtin_prefetch (p , 0 , 1 );
112113
113114 if (__builtin_types_compatible_p (int , char )) {}
115+
116+ char * pStr = NULL ;
117+ if (vasprintf (& pStr , "%d %d" , valist_arg ) != -1 ) {
118+ free (pStr );
119+ }
114120}
115121
116122void ignoreleak (void )
You can’t perform that action at this time.
0 commit comments