]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
libxfs: fix use after from in xfs_trans_roll
authorDave Chinner <dchinner@redhat.com>
Wed, 29 Jun 2016 01:12:48 +0000 (11:12 +1000)
committerDave Chinner <david@fromorbit.com>
Wed, 29 Jun 2016 01:12:48 +0000 (11:12 +1000)
commit87307113f6f6dc3da91d0d01c5431c008ceaac77
tree155e509b75dd94945f1bc3f9831a620d799cca79
parentfb2595e968282039b778c5d0efbe1e97aaddbc7b
libxfs: fix use after from in xfs_trans_roll

When porting the transaction alocation interface to userspace
(commit 9074815), I missed a change in xfs_trans_roll() that could
lead to a use after free. Coverity spotted it, so fix it.

Coverity-id: 1362812
Signed-off-by: Dave Chinner <david@fromorbit.com>
libxfs/trans.c