الأحد 06 ديسمبر 2026 04:30:06 GMT+01:00

Netcrook

الرئيسيةالبيان
الأخبار
Techcrook
Geocrook
WikicrookالفريقAppاتصال
EnglishItaliano

WIKICROOK

ReadbleStream BYOB

A JavaScript stream mode that lets code supply its own buffer for efficiency and lower copying.

ReadableStream BYOB (“bring your own buffer”) is a JavaScript stream mode in which the consumer provides a buffer for incoming data. This can reduce extra allocations and copying compared with the stream allocating buffers itself.

Because browser engines manage these buffers across complex stream operations, memory-safety bugs can have security consequences. Incorrect handling of a BYOB buffer’s lifetime or ownership may contribute to issues such as a use-after-free, where software accesses memory after it has been released. Attackers may try to trigger such bugs through crafted web content; browser vendors fix them with safer memory handling and patches. Users should keep browsers updated, while developers should follow the stream API’s buffer-lifetime rules.

← فهرس WIKICROOK