posix.cfg: Warn for socket/file-descriptors having negatives values.

This commit is contained in:
orbitcowboy 2019-04-25 17:04:30 +02:00
parent 4a91b7ec77
commit c4fb56e550
1 changed files with 9 additions and 0 deletions

View File

@ -38,6 +38,7 @@
<returnValue type="int"/> <returnValue type="int"/>
<arg nr="1" direction="in"> <arg nr="1" direction="in">
<not-uninit/> <not-uninit/>
<valid>0:</valid>
</arg> </arg>
<arg nr="2" direction="out"> <arg nr="2" direction="out">
<not-uninit/> <not-uninit/>
@ -1304,6 +1305,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
<returnValue type="ssize_t"/> <returnValue type="ssize_t"/>
<arg nr="1" direction="in"> <arg nr="1" direction="in">
<not-uninit/> <not-uninit/>
<valid>0:</valid>
</arg> </arg>
<arg nr="2" direction="out"> <arg nr="2" direction="out">
<minsize type="argvalue" arg="3"/> <minsize type="argvalue" arg="3"/>
@ -1321,6 +1323,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
<returnValue type="ssize_t"/> <returnValue type="ssize_t"/>
<arg nr="1" direction="in"> <arg nr="1" direction="in">
<not-uninit/> <not-uninit/>
<valid>0:</valid>
</arg> </arg>
<arg nr="2" direction="in"> <arg nr="2" direction="in">
<not-uninit/> <not-uninit/>
@ -1337,6 +1340,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
<returnValue type="ssize_t"/> <returnValue type="ssize_t"/>
<arg nr="1" direction="in"> <arg nr="1" direction="in">
<not-uninit/> <not-uninit/>
<valid>0:</valid>
</arg> </arg>
<arg nr="2" direction="out"> <arg nr="2" direction="out">
<minsize type="argvalue" arg="3"/> <minsize type="argvalue" arg="3"/>
@ -1355,6 +1359,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
<returnValue type="ssize_t"/> <returnValue type="ssize_t"/>
<arg nr="1" direction="in"> <arg nr="1" direction="in">
<not-uninit/> <not-uninit/>
<valid>0:</valid>
</arg> </arg>
<arg nr="2" direction="out"> <arg nr="2" direction="out">
<minsize type="argvalue" arg="3"/> <minsize type="argvalue" arg="3"/>
@ -1375,6 +1380,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
<returnValue type="ssize_t"/> <returnValue type="ssize_t"/>
<arg nr="1" direction="in"> <arg nr="1" direction="in">
<not-uninit/> <not-uninit/>
<valid>0:</valid>
</arg> </arg>
<arg nr="2" direction="inout"/> <arg nr="2" direction="inout"/>
<arg nr="3" direction="in"> <arg nr="3" direction="in">
@ -1387,6 +1393,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
<returnValue type="ssize_t"/> <returnValue type="ssize_t"/>
<arg nr="1" direction="in"> <arg nr="1" direction="in">
<not-uninit/> <not-uninit/>
<valid>0:</valid>
</arg> </arg>
<arg nr="2" direction="in"> <arg nr="2" direction="in">
<minsize type="argvalue" arg="3"/> <minsize type="argvalue" arg="3"/>
@ -1405,6 +1412,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
<returnValue type="ssize_t"/> <returnValue type="ssize_t"/>
<arg nr="1" direction="in"> <arg nr="1" direction="in">
<not-uninit/> <not-uninit/>
<valid>0:</valid>
</arg> </arg>
<arg nr="2" direction="in"> <arg nr="2" direction="in">
<minsize type="argvalue" arg="3"/> <minsize type="argvalue" arg="3"/>
@ -1425,6 +1433,7 @@ The function 'mktemp' is considered to be dangerous due to race conditions and s
<returnValue type="ssize_t"/> <returnValue type="ssize_t"/>
<arg nr="1" direction="in"> <arg nr="1" direction="in">
<not-uninit/> <not-uninit/>
<valid>0:</valid>
</arg> </arg>
<arg nr="2" direction="in"> <arg nr="2" direction="in">
<not-uninit/> <not-uninit/>