[PATCH 3/8] d2d1/tests: Avoid out-of-bounds access when comparing segments
Stefan Brüns
stefan.bruens at rwth-aachen.de
Fri Jan 7 11:20:54 CST 2022
On Freitag, 7. Januar 2022 18:10:05 CET you wrote:
> On Fri, 7 Jan 2022 at 09:00, Stefan Brüns <stefan.bruens at rwth-aachen.de>
wrote:
> > In case real and expected segment count differ, don't compare the
> > segment type/position for extra segments.
>
> Unless it's e.g. a huge help when debugging failures, I'm not sure we
> care; if the segment counts don't match the test is going to fail, one
> way or another.
This is an invalid memory access (though read-only). This should never be
done, even in tests.
Kind regards, Stefan
--
Stefan Brüns / Bergstraße 21 / 52062 Aachen
home: +49 241 53809034 mobile: +49 151 50412019
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part.
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20220107/fa64e7f2/attachment.sig>
More information about the wine-devel
mailing list