A late screenshot response can complete the next request
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 56/100
Direzione di ricerca
Read InjectionServer.swift around requestScreenshot (lines 91–122) and the .screenshotData handler (lines 272–280). Trace what happens when request A times out, request B starts, and A’s delayed response arrives; then verify that responses cannot complete the wrong request, including with a test or reproduction of that sequence.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
requestScreenshot clears pendingScreenshot after its timeout. The .screenshotData handler then assigns any received screenshot to whichever request is pending.
The problematic sequence is: request A times out; request B starts; A's delayed response arrives. B is signalled with A's image and returns it as its own result. B's actual response can then be discarded or incorrectly satisfy another request.
Please correlate screenshot responses with their requests, or prevent reuse of the pending slot until the old response has been drained. This is a code-level finding; I haven't reproduced this timing in the app.
- Lingua principale
- Swift
- Stelle
- 437
- Fork
- 32
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di johnno1962/InjectionNext
-
Duplicate CFBundleIdentifier in copied _Testing_* overlay frameworks breaks simulator installAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
johnno1962/InjectionNext#175 · 2 commenti ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 65/100
johnno1962/InjectionNext#167 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
johnno1962/InjectionNext#147 · 1 commento ·
-
Issue injecting on real device – Code signature invalid & Unhide Symbols restart loopForse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
johnno1962/InjectionNext#81 · 18 commenti · 2 reazioni ·
Tutte le issue di johnno1962/InjectionNext
Issue simili
-
area:ui enhancement good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
s3onghyun/bulchimbeon#22 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
[BUG] File transcription skips audio chunks shorter than one secondForse già presa @sabbah13 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
altic-dev/FluidVoice#1161 ·
I maintainer di solito rispondono entro 1 giorno
-
swift.md: `Date(myString, strategy: .iso8601)` example omits `try` — the initializer is throwingAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100