summaryrefslogtreecommitdiff
path: root/lib/strnlen.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-02-19 08:52:53 +0000
committerJim Meyering <jim@meyering.net>2001-02-19 08:52:53 +0000
commit5af9b0048f103248f4973b8362e83f04ce524201 (patch)
tree40d948e0ed4cf608bdf82396b91aa6f0860032e7 /lib/strnlen.c
parent9758a4d87adbdb8c4481a2263855e577e15f56a3 (diff)
downloadcoreutils-5af9b0048f103248f4973b8362e83f04ce524201.tar.xz
Fix a race condition: freed storage accessed during a signal handler.
(struct tempnode.next): Now volatile. (zaptemp): Free the file name after removing it from the temp list, not before, because a signal can arrive between the two actions and cleanup () traverses the list.
Diffstat (limited to 'lib/strnlen.c')
0 files changed, 0 insertions, 0 deletions