summaryrefslogtreecommitdiff
path: root/string-table.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2015-09-02 18:02:23 +0200
committerDavid Sterba <dsterba@suse.com>2015-09-02 18:56:54 +0200
commita426f18baf519f6694ef923bd7d046041d190dee (patch)
tree00d628633aacc315f205fc623d406fa4b4068eb2 /string-table.c
parent13be89d82ee9a233a30e7ed1ef09dff242dfcaa6 (diff)
btrfs-progs: convert: rework checks of label size
Coverity complains that the fslabel might be longer than the superblock buffer, down in do_convert. The label is at most 255 bytes, terminated by zero. Use buffers of the right size. Resolves-coverity-id: 1320911 Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'string-table.c')
0 files changed, 0 insertions, 0 deletions