Some issues found with Klockwork
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 15 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | device: prevent a NULL pointer dereference in __intel_peek_fdsrc/ | +4 | 9 replies | |
| 2/7 | display: prevent a NULL pointer dereference in intel_set_scanout_pixmapsrc/ | +5 | 1 reply | |
| 3/7 | sna: check for NULL before dereferencing a pointersrc/ | +2 | 1 reply | |
| 4/7 | sna: assert a pointer is non-NULL before dereferencing itsrc/ | +1 | 1 reply | |
| 5/7 | sna/cursor: add an assert on cursor->imagesrc/ | +2 | 1 reply | |
| 6/7 | sna_video_sprite: add asserts to catch invalid pipe#src/ | +3 | 1 reply | |
| 7/7 | sna: add an assert in the lengthy sna_drawable_use_bosrc/ | +1 | 1 reply |
Reviews trailers per patch
1 of 7 patches has a Reviewed-by or Acked-by.
| Patch | Chris Wilson |
|---|---|
| 1/7 | |
| 2/7 | |
| 3/7 | |
| 4/7 | |
| 5/7 | |
| 6/7 | R-b |
| 7/7 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH DDX 0/7] Some issues found with Klockwork
The DDX clearly is making Klockwork unhappy but I found those potential issues. Let's use them as a basis for discussion on the real code that should be written.
Martin Peres (7):
device: prevent a NULL pointer dereference in __intel_peek_fd
display: prevent a NULL pointer dereference in
intel_set_scanout_pixmap
sna: check for NULL before dereferencing a pointer
sna: assert a pointer is non-NULL before dereferencing it sna/cursor: add an assert on cursor->image
sna_video_sprite: add asserts to catch invalid pipe#
sna: add an assert in the lengthy sna_drawable_use_bo
src/intel_device.c | 5 ++++- src/sna/sna_accel.c | 5 ++++- src/sna/sna_display.c | 3 ++- src/sna/sna_video_sprite.c | 3 +++ src/uxa/intel_display.c | 5 +++++ 5 files changed, 18 insertions(+), 3 deletions(-)
Signature · 6 lines
2.7.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx