]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
db: validate name and namelen in attr_set_f and attr_remove_f
authorChristoph Hellwig <hch@lst.de>
Mon, 11 May 2020 19:00:18 +0000 (15:00 -0400)
committerEric Sandeen <sandeen@sandeen.net>
Mon, 11 May 2020 19:00:18 +0000 (15:00 -0400)
commit38cff22d176af7af77b24ea0ee1b0f68724eb53b
tree3816a22990b1a6605e512c74481add41e4c57f3f
parent8e9a788f80c05bc39116fa69fbb9c177f4ccdf5e
db: validate name and namelen in attr_set_f and attr_remove_f

libxfs has stopped validating these parameters internally, so do it
in the xfs_db commands.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
db/attrset.c