~ubuntu-branches/ubuntu/maverick/clamav/maverick-security

« back to all changes in this revision

Viewing changes to libclamav/c++/llvm/test/CodeGen/X86/2006-05-17-VectorArg.ll

  • Committer: Bazaar Package Importer
  • Author(s): Marc Deslauriers
  • Date: 2011-02-23 14:27:51 UTC
  • mfrom: (0.35.17 sid)
  • Revision ID: james.westby@ubuntu.com-20110223142751-o9xb8jyvhkh75d0n
Tags: 0.96.5+dfsg-1ubuntu1.10.10.2
* SECURITY UPDATE: denial of service via double free in vba processing
  - libclamav/vba_extract.c: set buf to NULL when it gets freed.
  - http://git.clamav.net/gitweb?p=clamav-devel.git;a=commit;h=d21fb8d975f8c9688894a8cef4d50d977022e09f
  - CVE-2011-1003

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
; RUN: llc < %s -march=x86 -mattr=+sse2
2
 
 
3
 
define <4 x float> @opRSQ(<4 x float> %a) nounwind {
4
 
entry:
5
 
        %tmp2 = extractelement <4 x float> %a, i32 3            ; <float> [#uses=2]
6
 
        %abscond = fcmp oge float %tmp2, -0.000000e+00          ; <i1> [#uses=1]
7
 
        %abs = select i1 %abscond, float %tmp2, float 0.000000e+00              ; <float> [#uses=1]
8
 
        %tmp3 = tail call float @llvm.sqrt.f32( float %abs )            ; <float> [#uses=1]
9
 
        %tmp4 = fdiv float 1.000000e+00, %tmp3          ; <float> [#uses=1]
10
 
        %tmp11 = insertelement <4 x float> zeroinitializer, float %tmp4, i32 3          ; <<4 x float>> [#uses=1]
11
 
        ret <4 x float> %tmp11
12
 
}
13
 
 
14
 
declare float @llvm.sqrt.f32(float)
15