adobe / adobe/svg-native-viewer

Exception raised when string parser dereferences end iterator

Open
#205 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
164
Forks
42
PR merge metrics
No merged PRs in 30d

Description

In certain cases in newer photoshop code, I noticed the string parser will step its string iterator to end or beyond and then dereference it, which subsequently raises an exception. May be the same issue as https://github.com/adobe/svg-native-viewer/issues/204.

Contributor guide

Open the contributing guide

Research direction

Start by locating the string parser and reproducing the reported failure with the newer Photoshop-generated SVG Native input. Trace cases where the iterator reaches the end or moves beyond it, then verify that parsing completes without dereferencing an invalid iterator and that the reported case is covered by a regression check.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.