aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/df.c
diff options
context:
space:
mode:
authorAshwini Sharma <ak.ashwini1981@gmail.com>2014-05-02 06:24:11 -0500
committerAshwini Sharma <ak.ashwini1981@gmail.com>2014-05-02 06:24:11 -0500
commit26b21882bfd8a3712614e94dde41a5194dda7aee (patch)
tree9f936f5381b9237fa8f5fc4baa553302c9916ded /toys/posix/df.c
parenta547cf11686a878d2fd1a42a05719b78903009ad (diff)
downloadtoybox-26b21882bfd8a3712614e94dde41a5194dda7aee.tar.gz
In function readfile(), the buffer buf is free'd when readall() fails. This free can cause a crash, if the buffer passed by user of function is not malloc'ed one.
names_to_pid() is one usecase example here.
Diffstat (limited to 'toys/posix/df.c')
0 files changed, 0 insertions, 0 deletions