summaryrefslogtreecommitdiffstats
path: root/tests/bugs/distribute/bug-924265.t
diff options
context:
space:
mode:
authorShreyas Siravara <sshreyas@fb.com>2016-06-08 11:53:59 -0700
committerJeff Darcy <jeff@pl.atyp.us>2017-11-01 13:30:28 +0000
commit4a53ed72478c3ce788e295223d45cb578949241e (patch)
tree040c62eabd684c2c811d396d5a91f7a0733cfadd /tests/bugs/distribute/bug-924265.t
parentf6983f825f10f1795118ca140fd32e9c280bb5a4 (diff)
nfs: Fix crash bug when mnt3_resolve_subdir_cbk() fails
Summary: When mnt3_resolve_subdir_cbk() fails (this can happen when racing operations), authorized_path is sometimes NULL. We try to run strlen() on this path and as a result we crash. This diff fixes that by checking if path is NULL before dereferencing it. Test Plan: Run with patch and observe that there is no crash. Prove test for auth code. BUG: 1365683 Change-Id: I2e2bdfdc61ae906788611e151d2c753b79b312df Signed-off-by: Shreyas Siravara <sshreyas@fb.com>
Diffstat (limited to 'tests/bugs/distribute/bug-924265.t')
0 files changed, 0 insertions, 0 deletions