diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2011-07-14 03:16:00 +0000 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2011-08-01 14:30:45 -0400 |
commit | 77906a5075a4eb767026c2e07b1a412d08aea5be (patch) | |
tree | 0d7744a53a88c0e657ba727cd69e9b694d034772 /fs/btrfs/compression.c | |
parent | b783e62d9620445d1ca3de76badf0468cdd329ba (diff) | |
download | blackbird-op-linux-77906a5075a4eb767026c2e07b1a412d08aea5be.tar.gz blackbird-op-linux-77906a5075a4eb767026c2e07b1a412d08aea5be.zip |
Btrfs: copy string correctly in INO_LOOKUP ioctl
Memory areas [ptr, ptr+total_len] and [name, name+total_len]
may overlap, so it's wrong to use memcpy().
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/compression.c')
0 files changed, 0 insertions, 0 deletions