[BUG] Unescaped caption text breaks WebVTT and SMPTE-TT output
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 72/100
Línea de trabajo
Start by tracing how caption text is written by the WebVTT and SMPTE-TT output paths; the issue does not name source files or tests. Reproduce with the linked 77-byte RCWT sample and the listed commands, including parsing the XML output. Done when the caption remains visible as literal text in WebVTT and SMPTE-TT output parses as valid XML, while generated formatting remains intact.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Caption text <BOB> & HI is written without escaping: WebVTT loses <BOB> when rendered, and SMPTE-TT produces invalid XML. Both commands exit with status 0.
Tested: Linux x86_64, CCExtractor 0.96.5 at 6c9fc900. Regression status unknown.
Reproduce
Download markup.bin, a 77-byte RCWT sample containing that caption, then run:
ccextractor markup.bin --out=webvtt -o markup.vtt
ccextractor markup.bin --out=smptett -o markup.xml
python3 -c 'import xml.etree.ElementTree as E; E.parse("markup.xml")'
Actual result
- WebVTT: Chromium's
cue.getCueAsHTML().textContentgives& HI; the literal<BOB>is treated as a tag. - SMPTE-TT: output contains
<span><BOB> & HI. XML parsing fails:not well-formed (invalid token): line 20, column 21. - Control: transcript output preserves the full caption. A
HELLO WORLDsample produces parseable XML.
Sample generator and control · Generated WebVTT · Generated XML
Expected
Preserve <BOB> & HI as visible text and produce valid XML. Escape literal caption characters, e.g. <BOB> & HI, without escaping encoder-generated formatting.
Related: #1703 proposed escaping for SRT but was closed without merging.
Screenshot
Actual generated WebVTT parsed in a browser verification page:

- Lenguaje dominante
- C
- Estrellas
- 912
- Forks
- 598
- Merge medio
- 2 d 7 h
- PR fusionados (30 d)
- 29
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de CCExtractor/ccextractor
-
Heap OOB read in parse_ad_cdp: cc_count not bounded by packet lengthPosiblemente ocupada @Nikhil-jaiswal007 la tomó hace 6 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
CCExtractor/ccextractor#2425 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
[BUG] Heap buffer overflow in parse_PMT with C0/C1 section lengthPosiblemente ocupada @kun-codes la tomó hace 8 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
CCExtractor/ccextractor#2419 ·
Los mantenedores suelen responder en 1 día
-
[BUG] Filename sequence expansion (`+`) panics on numeric values exceeding `i32::MAX`Posiblemente ocupada @muntasir-396 la tomó hace 12 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
CCExtractor/ccextractor#2402 ·
Los mantenedores suelen responder en 1 día
-
[BUG] ISDB decoder ignores the payload length: heap-buffer-overflow in parse_statement, plus a one-byte overflow in get_textPosiblemente ocupada @pranayr710 la tomó hace 3 días. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
CCExtractor/ccextractor#2434 ·
Los mantenedores suelen responder en 1 día
-
[BUG] WTV read_header(): unchecked len and text_len from the file crash the parser (SEGV, 4 KB reproducer)Posiblemente ocupada @pranayr710 la tomó hace 3 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 35/100
CCExtractor/ccextractor#2433 ·
Los mantenedores suelen responder en 1 día
Todos los issues de CCExtractor/ccextractor
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
elf_loader: Xtensa ignores the addend of R_XTENSA_GLOB_DAT / R_XTENSA_JMP_SLOT (C++ vtables)Posiblemente ocupada @diplfranzhoepfinger la tomó hoy. Abiertoelf_loader
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
espressif/esp-iot-solution#813 ·
Los mantenedores suelen responder en 1 día
-
Status: Opened Type: Bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
msys2/MSYS2-packages#6919 ·
Los mantenedores suelen responder en 1 día
-
severity: low
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
luainkernel/lunatik#2221 ·
Los mantenedores suelen responder en 1 día