File: WUR-REPORT

package info (click to toggle)
eglibc 2.11.3-4%2Bdeb6u11
  • links: PTS, VCS
  • area: main
  • in suites: squeeze-lts
  • size: 140,792 kB
  • ctags: 119,927
  • sloc: ansic: 909,722; asm: 178,348; sh: 8,983; makefile: 7,625; perl: 2,221; awk: 1,728; cpp: 1,278; pascal: 715; yacc: 317; sed: 131
file content (45 lines) | stat: -rw-r--r-- 1,049 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<unistd.h>:

lssek:   Probably should be __wur but lseek(fd,SEEK_SET,0) will succeed if
         the descriptor is fine.
lseek64: same

setuid:  will always succeed given correct privileges, so there might
         be places which don't check for it.
setreuid: same
seteuid: same
setgid:  same
setregid: same
setegid: same
setresuid: same
setresgid: same


<stdio.h>:

setvbuf:   if stream and buffer are fine and other parameters constant,
           it cannot really fail.
fseek:     see lseek
fseeko:    likewise
fgetpos:   similarly
fsetpos:   likewise


<stdlib.h>:

atexit:    it is guaranteed that a certain number of handlers can be
           registered, so some calls might need not be checked
on_exit:   same
random functions:  one might want to discard a number of results.  In any
           case, no security problem


putenv:    probably SHOULD be marked, but we'll wait a bit.
setenv:    likewise
unsetenv:  likewise
clearenv:  likewise

mbstowcs:  probably SHOULD be marked
wcstombs:  likewise

ptsname_r: probably SHOULD be marked