readline memory corruption when sys.stdin fd >= FD_SETSIZE for select()
Aperta
Nessuno ha ancora preso questa issue.
3.7 (EOL)
extension-modules
type-crash
- Lingua principale
- Python
- Stelle
- 77.2k
- Fork
- 36k
- Metriche di merge delle PR
- Metriche PR in attesa
Descrizione
| BPO | 29700 |
|---|---|
| Nosy | @gpshead, @marienz, @tiran, @vadmium, @zhangyangyu |
| PRs | |
| Files |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee = None
closed_at = None
created_at = <Date 2017-03-02.19:48:15.854>
labels = ['extension-modules', '3.7', 'type-crash']
title = 'readline memory corruption when sys.stdin fd >= FD_SETSIZE for select()'
updated_at = <Date 2017-04-30.12:14:38.475>
user = 'https://github.com/gpshead'
bugs.python.org fields:
activity = <Date 2017-04-30.12:14:38.475>
actor = 'marienz'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Extension Modules']
creation = <Date 2017-03-02.19:48:15.854>
creator = 'gregory.p.smith'
dependencies = []
files = ['46689']
hgrepos = []
issue_num = 29700
keywords = []
message_count = 9.0
messages = ['288825', '288826', '288829', '288831', '288832', '289098', '289133', '289836', '292627']
nosy_count = 5.0
nosy_names = ['gregory.p.smith', 'marienz', 'christian.heimes', 'martin.panter', 'xiang.zhang']
pr_nums = ['540']
priority = 'normal'
resolution = None
stage = 'needs patch'
status = 'open'
superseder = None
type = 'crash'
url = 'https://bugs.python.org/issue29700'
versions = ['Python 2.7', 'Python 3.5', 'Python 3.6', 'Python 3.7']
Guida per i contributori
Apri la guida per i contributori
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.
Direzione di ricerca
Inizia con il riproduttore crash_readline_fdset.py caricato e con il percorso select() dell’estensione readline. Esegui il riproduttore con sys.stdin su un descrittore di file uguale o superiore a FD_SETSIZE, quindi analizza il lavoro esistente python/cpython#540; il lavoro è completato quando la corruzione della memoria non si verifica più.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- cli
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 30/100