Skip to content

Commit

Permalink
Fix [121786c0]: image svg upstream out of bound read nanosvg#262
Browse files Browse the repository at this point in the history
  • Loading branch information
jan.nijtmans committed Dec 22, 2024
2 parents ed0441f + f84512a commit ed1abb2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ to the userbase.

# Bug fixes
- [inaccurate scrollbar error-message](https://core.tcl-lang.org/tk/tktview/f88118)
- [Build tk 9.0.1 failed on macos 10.13](https://core.tcl-lang.org/tk/tktview/cb5d77)
- [image svg upstream out of bound read nanosvg#262](https://core.tcl-lang.org/tk/tktview/121786)

Release Tk 9.0.1 arises from the check-in with tag `core-9-0-1`.

Expand Down
2 changes: 1 addition & 1 deletion generic/nanosvg.h
Original file line number Diff line number Diff line change
Expand Up @@ -1341,7 +1341,7 @@ static unsigned int nsvg__parseColorRGB(const char* str)
while (*str && nsvg__isdigit(*str)) str++; /* skip fractional part */
}
if (*str == '%') str++; else break;
while (nsvg__isspace(*str)) str++;
while (*str && nsvg__isspace(*str)) str++;
if (*str == delimiter[i]) str++;
else break;
}
Expand Down

0 comments on commit ed1abb2

Please sign in to comment.