Repository navigation
Commit a18ed35
ext4: always check ext4_ext_find_extent result
Where are some places where logic guaranties us that extent we are
searching exits, but this may not be true due to on-disk data
corruption. If such corruption happens we must prevent possible
null pointer dereferences.
Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>1 parent 8dc79ec commit a18ed35
1 file changed
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3313 | 3313 | | |
3314 | 3314 | | |
3315 | 3315 | | |
| 3316 | + | |
| 3317 | + | |
| 3318 | + | |
| 3319 | + | |
| 3320 | + | |
3316 | 3321 | | |
3317 | 3322 | | |
3318 | 3323 | | |
| |||
3694 | 3699 | | |
3695 | 3700 | | |
3696 | 3701 | | |
| 3702 | + | |
| 3703 | + | |
| 3704 | + | |
| 3705 | + | |
| 3706 | + | |
| 3707 | + | |
3697 | 3708 | | |
3698 | 3709 | | |
3699 | 3710 | | |
| |||
5340 | 5351 | | |
5341 | 5352 | | |
5342 | 5353 | | |
| 5354 | + | |
| 5355 | + | |
| 5356 | + | |
| 5357 | + | |
| 5358 | + | |
| 5359 | + | |
5343 | 5360 | | |
5344 | 5361 | | |
5345 | 5362 | | |
| |||
0 commit comments