Repository navigation
Commit 288315e
scsi: sym53c8xx: fix NULL pointer dereference panic in sym_int_sir()
sym_int_sir() in sym_hipd.c does not check the command pointer for NULL before
using it in debug message prints.
Suggested-by: Matthew Wilcox <matthew.wilcox@oracle.com>
Signed-off-by: George Kennedy <george.kennedy@oracle.com>
Reviewed-by: Mark Kanda <mark.kanda@oracle.com>
Acked-by: Matthew Wilcox <matthew.wilcox@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>1 parent 6318cb7 commit 288315e
1 file changed
Lines changed: 11 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4370 | 4370 | | |
4371 | 4371 | | |
4372 | 4372 | | |
| 4373 | + | |
| 4374 | + | |
| 4375 | + | |
| 4376 | + | |
| 4377 | + | |
| 4378 | + | |
| 4379 | + | |
4373 | 4380 | | |
4374 | 4381 | | |
4375 | 4382 | | |
| |||
4415 | 4422 | | |
4416 | 4423 | | |
4417 | 4424 | | |
4418 | | - | |
| 4425 | + | |
4419 | 4426 | | |
4420 | 4427 | | |
4421 | 4428 | | |
4422 | 4429 | | |
4423 | 4430 | | |
4424 | 4431 | | |
4425 | 4432 | | |
4426 | | - | |
| 4433 | + | |
4427 | 4434 | | |
4428 | 4435 | | |
4429 | 4436 | | |
4430 | 4437 | | |
4431 | 4438 | | |
4432 | 4439 | | |
4433 | 4440 | | |
4434 | | - | |
| 4441 | + | |
4435 | 4442 | | |
4436 | 4443 | | |
4437 | 4444 | | |
| |||
4460 | 4467 | | |
4461 | 4468 | | |
4462 | 4469 | | |
4463 | | - | |
| 4470 | + | |
4464 | 4471 | | |
4465 | 4472 | | |
4466 | 4473 | | |
| |||
0 commit comments