Skip to content

Guard IsContentChanged against short generated results #86

Description

@Vladyslav-Kuksiuk

embedding/parsing.Context.IsContentChanged indexes c.Result[i] for every processed source line. Add an explicit length check before the loop so malformed or future parser changes cannot turn a shorter generated result into an out-of-bounds panic.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions