Re: [v4] drm/gma500: fix null pointer dereference in cdv_intel_lvds_get_modes

2024-07-10 Thread Markus Elfring
… > > Signed-off-by: Ma Ke > > Thanks for the patch! > Pushed to drm-misc-fixes Do you care for the applicability of the available information according to this tag? https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.10-rc7#n3

Re: [PATCH v4] drm/gma500: fix null pointer dereference in cdv_intel_lvds_get_modes

2024-07-09 Thread Patrik Jakobsson
On Tue, Jul 9, 2024 at 1:33 PM Ma Ke wrote: > > In cdv_intel_lvds_get_modes(), the return value of drm_mode_duplicate() > is assigned to mode, which will lead to a NULL pointer dereference on > failure of drm_mode_duplicate(). Add a check to avoid npd. > > Cc: sta...@vger.kernel.org > Fixes: 6a227

Re: [PATCH v4] drm/gma500: fix null pointer dereference in cdv_intel_lvds_get_modes

2024-07-09 Thread Markus Elfring
… > Signed-off-by: Ma Ke Are you going to adjust this information anyhow? > --- > Changes in v4: > - revised the recipient email list, apologize for the inadvertent mistake. … The usage of mailing list addresses is probably undesirable for the Developer's Certificate of Origin, isn't it? https

[PATCH v4] drm/gma500: fix null pointer dereference in cdv_intel_lvds_get_modes

2024-07-09 Thread Ma Ke
In cdv_intel_lvds_get_modes(), the return value of drm_mode_duplicate() is assigned to mode, which will lead to a NULL pointer dereference on failure of drm_mode_duplicate(). Add a check to avoid npd. Cc: sta...@vger.kernel.org Fixes: 6a227d5fd6c4 ("gma500: Add support for Cedarview") Signed-off-b