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

FFmpeg trac at avcodec.org
Mon Sep 1 10:56:48 CEST 2014


#1163: ffprobe can produce invalid XML
------------------------------------+-----------------------------------
             Reporter:  Ian         |                    Owner:  stefano
                 Type:  defect      |                   Status:  closed
             Priority:  normal      |                Component:  avutil
              Version:  git-master  |               Resolution:  fixed
             Keywords:  utf8        |               Blocked By:
             Blocking:              |  Reproduced by developer:  1
Analyzed by developer:  1           |
------------------------------------+-----------------------------------
Changes (by saste):

 * analyzed:  0 => 1
 * resolution:   => fixed
 * status:  reopened => closed
 * component:  ffprobe => avutil
 * reproduced:  0 => 1


Comment:

 Replying to [comment:14 saste]:
 [...]
 > {{{C0A1}}} is an overlong encoding 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.

 Should be fixed in:
 {{{
 commit d4ec07dfe7dbc86e8f6403781c511b9463a526d2
 Author: Stefano Sabatini <stefasab at gmail.com>
 Date:   Thu Aug 28 17:37:27 2014 +0200

     lavu/avstring: check for overlong encodings in av_utf8_decode()

     Fix reopened trac ticket #1163.
 }}}

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


More information about the FFmpeg-trac mailing list