[FFmpeg-trac] #8138(avcodec:closed): load of misaligned address in libavcodec/startcode.c

FFmpeg trac at avcodec.org
Thu Sep 19 15:48:09 EEST 2019


#8138: load of misaligned address in libavcodec/startcode.c
------------------------------------+-----------------------------------
             Reporter:  Suhwan      |                    Owner:
                 Type:  defect      |                   Status:  closed
             Priority:  normal      |                Component:  avcodec
              Version:  git-master  |               Resolution:  invalid
             Keywords:  ubsan       |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+-----------------------------------
Changes (by mkver):

 * priority:  important => normal
 * resolution:   => invalid
 * status:  new => closed
 * component:  undetermined => avcodec


Comment:

 This code in question is inside a #ifdef HAVE_FAST_UNALIGNED. Therefore
 means that your error is not a real error; you should
 [https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html#disabling-
 instrumentation-with-attribute-no-sanitize-undefined disable
 instrumentation] for this function and other functions that use
 HAVE_FAST_UNALIGNED (e.g. libavcodec/h2645_parse.c contains such a
 function).

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


More information about the FFmpeg-trac mailing list