Skip to content

drm/modes: parse_cmdline: Fix possible reference past end of string

Hans de Goede dri-devel 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 posting 2/22 patches 2 repliesIn review
  2. v1 posting 2/22 patches 6 repliesSuperseded
  3. v3 Latest13 patches 2 repliesIn review
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v2 posting 1/213 patches7 repliesSuperseded
v1 posting 1/212 patches11 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13drm/modes: parse_cmdline: Fix possible reference past end of stringdrivers/gpu/drm/drm_modes.c+30 -380 replies
2/13drm/modes: parse_cmdline: Make various char pointers constdrivers/gpu/drm/drm_modes.c+5 -50 replies
3/13drm/modes: parse_cmdline: Stop parsing extras after bpp / refresh at ', 'drivers/gpu/drm/drm_modes.c drivers/gpu/drm/selftests/drm_cmdline_selftests.h drivers/gpu/drm/selftests/test-drm_cmdline_parser.c+33 -40 replies
4/13drm/modes: parse_cmdline: Accept extras directly after mode combined with optionsdrivers/gpu/drm/drm_modes.c drivers/gpu/drm/selftests/drm_cmdline_selftests.h drivers/gpu/drm/selftests/test-drm_cmdline_parser.c+26 -00 replies
5/13drm/modes: parse_cmdline: Rework drm_mode_parse_cmdline_options()drivers/gpu/drm/drm_modes.c+9 -120 replies
6/13drm/modes: parse_cmdline: Add freestanding argument to drm_mode_parse_cmdline_options()drivers/gpu/drm/drm_modes.c+5 -00 replies
7/13drm/modes: parse_cmdline: Set bpp/refresh_specified after successful parsingdrivers/gpu/drm/drm_modes.c+5 -40 replies
8/13drm/modes: parse_cmdline: Allow specifying stand-alone optionsdrivers/gpu/drm/drm_modes.c drivers/gpu/drm/selftests/drm_cmdline_selftests.h drivers/gpu/drm/selftests/test-drm_cmdline_parser.c+86 -580 replies
9/13drm/modes: parse_cmdline: Add support for specifying panel_orientation (v2)Documentation/fb/modedb.rst drivers/gpu/drm/drm_modes.c drivers/gpu/drm/selftests/drm_cmdline_selftests.h +2 more+66 -00 replies
10/13drm/modes: parse_cmdline: Remove some unnecessary code (v2)drivers/gpu/drm/drm_modes.c+0 -50 replies
11/13drm/modes: parse_cmdline: Explicitly memset the passed in drm_cmdline_mode structdrivers/gpu/drm/drm_modes.c+2 -31 reply
12/13drm/connector: Split out orientation quirk detection (v2)drivers/gpu/drm/drm_connector.c drivers/gpu/drm/i915/display/icl_dsi.c drivers/gpu/drm/i915/display/intel_dp.c +2 more+71 -311 reply
13/13drm/connector: Hookup the new drm_cmdline_mode panel_orientation memberdrivers/gpu/drm/drm_connector.c+7 -00 replies

Reviews trailers per patch

12 of 13 patches have a Reviewed-by or Acked-by.

PatchMaxime Ripard
1/13A-b
2/13A-b
3/13A-b
4/13A-b
5/13A-b
6/13A-b
7/13A-b
8/13A-b
9/13A-b
10/13A-b
11/13A-b
12/13
13/13A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread