Skip to content

Instantly share code, notes, and snippets.

@xtuaok
Last active September 12, 2021 14:49
Show Gist options
  • Save xtuaok/b870a41167bf1c779304452718bbdd1d to your computer and use it in GitHub Desktop.
Save xtuaok/b870a41167bf1c779304452718bbdd1d to your computer and use it in GitHub Desktop.
mirakurun 100%
--- 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++;
}
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