Files
tauri-plugins-workspace/.changes/fix-fs-seek-negative.md
T
Lucas Fernandes Nogueira 77d00a4f54 fix(fs): reject negative offsets when seeking from the start (#3633)
In plugins/fs/src/commands.rs seek, `SeekFrom::Start(offset as u64)`
turned -1 into u64::MAX. The offset is now converted with u64::try_from
and a negative one is an error. E2E spec added.
2026-10-09 13:04:44 -03:00

141 B

fs, fs-js
fs fs-js
patch patch

FileHandle.seek now rejects a negative offset with SeekMode.Start instead of seeking to a huge position.