mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
8a02ca3bcc
This test cover linux commit 7ae8fd0, when mnt_group_id=0, it means
this mount no peers. But this bug treat two zero mnt_group_id as
peers. And it cause a crash by dereference a NULL address.
As below, the crash will happen when mount fs on "B/mnt1/mnt2":
shared New FS shared
-----------------------[A/mnt1]----------------------
| | |
| bind | bind |
[C/mnt1]--[slave C]<------[shared A]------>[slave B]--[B/mnt1]
|
|
[B/mnt1/mnt2]
(New FS)
Signed-off-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
13 lines
219 B
Plaintext
13 lines
219 B
Plaintext
QA output created by 411
|
|
------
|
|
TEST_DIR/411 SCRATCH_DEV
|
|
mpA SCRATCH_DEV
|
|
mpA/mnt1 SCRATCH_DEV
|
|
mpB SCRATCH_DEV
|
|
mpB/mnt1 SCRATCH_DEV
|
|
mpB/mnt1/mnt2 SCRATCH_DEV
|
|
mpC SCRATCH_DEV
|
|
mpC/mnt1 SCRATCH_DEV
|
|
======
|
|
crash test passed
|