diff options
author | Martin Brandenburg <martin@omnibond.com> | 2016-02-29 22:07:35 +0100 |
---|---|---|
committer | Mike Marshall <hubcap@omnibond.com> | 2016-03-09 19:26:39 +0100 |
commit | c62da5853de5564e367932185500f96ab70a6f7c (patch) | |
tree | 91d6e34fb6de554c1d9d7451bd2d3f8ae13bc324 /Documentation/edac.txt | |
parent | Orangefs: improve the POSIXness of interrupted writes... (diff) | |
download | linux-c62da5853de5564e367932185500f96ab70a6f7c.tar.xz linux-c62da5853de5564e367932185500f96ab70a6f7c.zip |
orangefs: Avoid symlink upcall if target is too long.
Previously the client-core detected this condition by sheer luck!
Since we used strncpy, no NUL byte would be included on the name. The
client-core would call strlen, which would read past the end of its
buffer, but return a number large enough that the client-core would
return ENAMETOOLONG.
Signed-off-by: Martin Brandenburg <martin@omnibond.com>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'Documentation/edac.txt')
0 files changed, 0 insertions, 0 deletions