Crash: RangeError [ERR_OUT_OF_RANGE] with very large num
Steps to reproduce the bug:
- ???
Crash reports from npm run psdr:
App: se.manyver 0.2107.5-beta-googlePlay (104)
Device: Xiaomi M2003J15SC (arm64-v8a | armeabi-v7a | armeabi)
OS: Android 10 (SDK 29)
User comment: only used it for around 2 days, 1 public post and 1 comment. Now app crash when starting...
Stack trace from Node.js:
The value of \\\"offset\\\" is out of range. It must be >= 0 and <= 65534. Received 75028
RangeError [ERR_OUT_OF_RANGE]: The value of \\\"offset\\\" is out of range. It must be >= 0 and <= 65534. Received 75028
at boundsError (internal/buffer.js:81:9)
at Buffer.readUInt16LE (internal/buffer.js:238:5)
at Object.getDataNextOffset (/data/data/se.manyver/files/nodejs-project/index.js:50871:31)
at Stream.RtIlCG2JhIOMRa4HMGBo5z/HYzUpKXF15L+qOV47dww=.Stream._handleBlock (/data/data/se.manyver/files/nodejs-project/index.js:31356:40)
at Stream.RtIlCG2JhIOMRa4HMGBo5z/HYzUpKXF15L+qOV47dww=.Stream._resumeCallback (/data/data/se.manyver/files/nodejs-project/index.js:31427:24)
at Request._callback (/data/data/se.manyver/files/nodejs-project/index.js:50830:9)
at Request.Trwq+KqeWzxsbUet+Omb+wC9uH2QMBcZNBUiXOCqCv4=.Request.callback (/data/data/se.manyver/files/nodejs-project/index.js:33022:8)
at onread (/data/data/se.manyver/files/nodejs-project/index.js:62999:31)
at FSReqCallback.wrapper [as oncomplete] (fs.js:520:5)