Raven Scott
b9d3a8b17f
Further MD Fixes
2026-04-25 23:04:56 -04:00
Raven Scott
b07bc38708
MD Formatting fixes
2026-04-25 23:02:07 -04:00
Raven Scott
baae7b3482
VFS readFile often returns Uint8Array; SFTP DATA and CHANNEL_DATA assumed
...
Buffer.isBuffer or treated payloads as UTF-8, corrupting packets and risking
native aborts (bad_optional_access). Normalize ArrayBuffer views in
SFTP.prototype.data and Protocol channelData/channelExtData; align READ shim.
Also includes earlier SFTP hardening: REQUEST.READ/WRITE/FSETSTAT guards,
enqueueSftpReply(reqid) + FAILURE on handler error, CHANGELOG.
2026-04-21 18:06:22 -04:00
Raven Scott
0359129a72
- SFTP.js: validate handle/offset/len on REQUEST.READ; guard WRITE/FSETSTAT
...
handle access like other handlers (avoid throwing before doFatalSFTPError).
- bare-openssh-sftp: enqueueSftpReply(reqid, fn) sends SSH_FX_FAILURE on
handler throw/reject; defensive READ path (buffer/finite offsets).
- Document regression (bad_optional_access / -fno-exceptions) in comments;
add packages/bare-os-openssh/CHANGELOG.md Unreleased entry.
2026-04-21 18:01:34 -04:00
Raven Scott
4ad6c08129
Updates
2026-04-08 22:48:55 -04:00
Raven Scott
f8a722ee70
Updates
2026-04-08 22:21:22 -04:00
Raven Scott
2d851dbaf2
updates
2026-04-08 20:27:25 -04:00
Raven Scott
355a6ef344
Fixes for SSH
2026-04-08 20:12:29 -04:00
Raven Scott
4757b2a4b0
Starting work on Implementing SSH Server Service
2026-04-08 20:02:12 -04:00