bytecodealliance / bytecodealliance/system-interface

Is passing an invalid pointer to recv sound?

Aperta
#50 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Rust
Stelle
54
Fork
19
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

https://github.com/bytecodealliance/system-interface/blob/8ee8c825df4c183f06d48ec5d10556a5bf11655b/src/io/is_read_write.rs#L141-L152

https://learn.microsoft.com/en-us/windows/win32/api/winsock/nf-winsock-recv doesn't say anything about this, this seems sketchy.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Read src/io/is_read_write.rs at lines 141-152 and compare the pointer handling with the linked Windows recv contract. Determine whether passing an invalid pointer is sound for this interface, then identify the expected behavior or documentation needed to resolve the concern; the issue does not name a test or a specific fix.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
rust
Ambito
operating-systems
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Tranquilla
Chiarezza
Da chiarire
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.