Closed AShiningRay closed 2 years ago
Sultan has a fix for this: https://github.com/kerneltoast/android_kernel_google_wahoo/commit/72a13270599dfd262fefdc3e0395bc0dfab5a795
You can see if we should use that one instead.
Yep, both fixes work as far as the code is concerned but sultan's commit is cleaner, easier to understand, and broader than our fix, so we can benefit of using his changes. Closing this one as well.
Despite increasing the array index to prevent it from accessing a negative one (C doesn't work like Python), making it access the zero index of the array might be incorrect and cause problems later. We won't know until we test it.
Related commit: 4dc0439749efa0186a6bd40e2464eac9fd765591