Skip to content

Commit ed1abb2

Browse files
author
jan.nijtmans
committed
Fix [121786c0]: image svg upstream out of bound read nanosvg#262
2 parents ed0441f + f84512a commit ed1abb2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

changes.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ to the userbase.
1717

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

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

generic/nanosvg.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1341,7 +1341,7 @@ static unsigned int nsvg__parseColorRGB(const char* str)
13411341
while (*str && nsvg__isdigit(*str)) str++; /* skip fractional part */
13421342
}
13431343
if (*str == '%') str++; else break;
1344-
while (nsvg__isspace(*str)) str++;
1344+
while (*str && nsvg__isspace(*str)) str++;
13451345
if (*str == delimiter[i]) str++;
13461346
else break;
13471347
}

0 commit comments

Comments
 (0)