Last active
September 12, 2021 14:49
-
-
Save xtuaok/b870a41167bf1c779304452718bbdd1d to your computer and use it in GitHub Desktop.
mirakurun 100%
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- node_modules/aribts/lib/char.js.orig 2018-11-01 03:11:47.359169459 +0900 | |
+++ node_modules/aribts/lib/char.js 2018-11-01 03:06:35.021146159 +0900 | |
@@ -186,7 +186,7 @@ | |
case 0x95: | |
// MACRO | |
- while (this.buffer[this.position] !== 0x4F) { | |
+ while (this.buffer.length > this.position && this.buffer[this.position] !== 0x4F) { | |
this.position++; | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
break in node_modules/aribts/lib/char.js:189 | |
187 case 0x95: | |
188 // MACRO | |
>189 while (this.buffer[this.position] !== 0x4F) { | |
190 this.position++; | |
191 } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment