~siretart/xine-lib/ubuntu

« back to all changes in this revision

Viewing changes to m4/aa.m4

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2005-12-15 13:13:45 UTC
  • mfrom: (0.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051215131345-8n4osv1j7fy9c1s1
* SECURITY UPDATE: Fix arbitrary code execution with crafted PNG images in
  embedded ffmpeg copy.
* src/libffmpeg/libavcodec/utils.c, avcodec_default_get_buffer(): Apply
  upstream patch to fix buffer overflow on decoding of small PIX_FMT_PAL8
  PNG files.
* References:
  CVE-2005-4048
  http://mplayerhq.hu/pipermail/ffmpeg-devel/2005-November/005333.html
  http://www1.mplayerhq.hu/cgi-bin/cvsweb.cgi/ffmpeg/libavcodec/
  utils.c.diff?r1=1.161&r2=1.162&cvsroot=FFMpeg

Show diffs side-by-side

added added

removed removed

Lines of Context:
176
176
  }
177
177
  return 1;
178
178
}
179
 
],, no_aalib=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
180
 
 
 
179
],, no_aalib=yes,
 
180
          AC_TRY_LINK([
 
181
#include <stdio.h>
 
182
#include <aalib.h>
 
183
],          [ return ((AA_LIB_VERSION) || 
 
184
#ifdef AA_LIB_MINNOR
 
185
                    (AA_LIB_MINNOR)
 
186
#else
 
187
                    (AA_LIB_MINOR)
 
188
#endif
 
189
                    ); ],, no_aalib=yes))
181
190
        CFLAGS="$ac_save_CFLAGS"
182
191
        LIBS="$ac_save_LIBS"
183
192
      fi
184
193
 
185
 
    else
 
194
    else dnl AALIB_CONFIG
186
195
      AC_MSG_CHECKING([for AALIB version >= $min_aalib_version])
187
196
      no_aalib=""
188
197
      AALIB_CFLAGS=`$AALIB_CONFIG $aalib_config_args --cflags`
246
255
  }
247
256
  return 1;
248
257
}
249
 
],, no_aalib=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
 
258
],, no_aalib=yes,
 
259
        AC_TRY_LINK([
 
260
#include <stdio.h>
 
261
#include <aalib.h>
 
262
],        [ return ((AA_LIB_VERSION) || 
 
263
#ifdef AA_LIB_MINNOR
 
264
                  (AA_LIB_MINNOR)
 
265
#else
 
266
                  (AA_LIB_MINOR)
 
267
#endif
 
268
                  ); ],, no_aalib=yes))
250
269
      CFLAGS="$ac_save_CFLAGS"
251
270
      LIBS="$ac_save_LIBS"
252
 
    fi
253
 
  fi dnl AALIB_CONFIG
 
271
    fi dnl AALIB_CONFIG
 
272
  fi dnl enable_aalibtest
254
273
 
255
274
  if test "x$no_aalib" = x; then
256
275
    AC_MSG_RESULT(yes)