diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-01-30 10:59:49 +0300 |
---|---|---|
committer | Boaz Harrosh <bharrosh@panasas.com> | 2012-03-19 13:39:12 -0700 |
commit | 72749a270b6d254b4a018e290b853c27edb2fa62 (patch) | |
tree | cde350c359d5dc7328e6a96f867ca6d671b4bde8 /MAINTAINERS | |
parent | 3e57638bb1469ba2705456e9fd4063d1890341e1 (diff) | |
download | linux-3.10-72749a270b6d254b4a018e290b853c27edb2fa62.tar.gz linux-3.10-72749a270b6d254b4a018e290b853c27edb2fa62.tar.bz2 linux-3.10-72749a270b6d254b4a018e290b853c27edb2fa62.zip |
exofs: Cap on the memcpy() size
This data comes from the device, so probably it's fairly trustworthy but
it makes the static checkers happy if we check it.
[Boaz]
the system_id_len is zero, if not present, or always OSD_SYSTEMID_LEN.
So always copy OSD_SYSTEMID_LEN bytes.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions