Re: [Beignet] [PATCH] Avoid possible invalid pointer by vector interator.

2016-12-28 Thread Yang, Rong R
; Sent: Wednesday, December 28, 2016 4:28 PM > > To: beignet@lists.freedesktop.org > > Cc: Yan Wang > > Subject: [Beignet] [PATCH] Avoid possible invalid pointer by vector > interator. > > > > From: Yan Wang > > > > "revisit" as vector containber will be push

Re: [Beignet] [PATCH] Avoid possible invalid pointer by vector interator.

2016-12-28 Thread Song, Ruiling
gt; Subject: [Beignet] [PATCH] Avoid possible invalid pointer by vector interator. > > From: Yan Wang > > "revisit" as vector containber will be pushed more elements in > findPointerEsacape() and cause previous interator to introduce > possible invalid pointer. > Wh

[Beignet] [PATCH] Avoid possible invalid pointer by vector interator.

2016-12-28 Thread yan . wang
From: Yan Wang "revisit" as vector containber will be pushed more elements in findPointerEsacape() and cause previous interator to introduce possible invalid pointer. When compiling huge kernel like blender, it will cause random segment fault crash. [] operator will be more safe. Signed-off-by:

[Beignet] [PATCH] Avoid possible invalid pointer by vector interator.

2016-12-28 Thread yan . wang
From: Yan Wang "revisit" as vector containber will be pushed more elements in findPointerEsacape() and cause previous interator to introduce possible invalid pointer. When compiling huge kernel like blender, it will cause random segment fault crash. [] operator will be more safe. --- backend/src