[FFmpeg-trac] #1163(ffprobe:reopened): ffprobe can produce invalid XML

FFmpeg trac at avcodec.org
Thu Aug 28 13:20:09 CEST 2014


#1163: ffprobe can produce invalid XML
------------------------------------+------------------------------------
             Reporter:  Ian         |                    Owner:  stefano
                 Type:  defect      |                   Status:  reopened
             Priority:  normal      |                Component:  ffprobe
              Version:  git-master  |               Resolution:
             Keywords:  utf8        |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+------------------------------------

Comment (by saste):

 Replying to [comment:13 eelco]:
 > Uploaded 1163-utf8bug.rm to incoming.
 [...]
 > {{{
 > xmllint 1163-utf8bug.xml
 > 1163-utf8bug.xml:14: parser error : Input is not proper UTF-8, indicate
 encoding !
 > Bytes: 0xC0 0xA1 0xEF 0xBF
 >         <tag key="author" value="�����??�TSKS��2014��"/>
 >                                                 ^
 > }}}

 {{{C0A1}}} is a long overcoding for character {{{!}}} (decimal number 33),
 using two bytes in place of one. Since this is not allowed we should
 probably fix the decoder to disallow it.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/1163#comment:14>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list