buffer: prevent abort on indexOf with lone surrogate needle
Signed-off-by: RafaelGSS <rafael.nunu@hotmail.com> PR-URL: https://github.com/nodejs/node/pull/65430 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
R
Rafael Gonzaga committed
54b4e372f39329ff0f3688e135c2e09cbdf434f4
Parent: f9f3fa9
Committed by GitHub <noreply@github.com>
on 8/25/2026, 10:32:37 AM