mirror of
https://github.com/langchain-ai/arrow-rs.git
synced 2026-06-30 21:47:55 -04:00
2788762c63
# Which issue does this PR close? - Closes #7712 . # Rationale for this change Shouldn't panic, especially in a fallible function. # What changes are included in this PR? Validate that the high and low surrogates are in the expected range, which guarantees that the subtractions won't overflow. # Are there any user-facing changes? No (well, things that used to panic now won't, but I don't think that counts)