Skip to content

Out of bounds groupshared array index in ExecutionTest::AtomicsShared64Test #5198

@tex3d

Description

@tex3d

In ShaderOpArith.xml, this groupshared variable:

groupshared int64_t g_sint64Share[3];

Is indexed with ix%3 + 1:

g_share64Buf[ix%3 + 6] = g_sint64Share[ix%3 + 1];

The array size should be at least 4 to avoid out-of-bounds access.

Metadata

Metadata

Assignees

Labels

bugBug, regression, crashtestTest issues or more test coverage needed

Type

Projects

Status

Triaged

Relationships

None yet

Development

No branches or pull requests

Issue actions