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

« back to all changes in this revision

Viewing changes to libclamav/c++/llvm/test/CodeGen/ARM/large-stack.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=arm
2
 
 
3
 
define void @test1() {
4
 
    %tmp = alloca [ 64 x i32 ] , align 4
5
 
    ret void
6
 
}
7
 
 
8
 
define void @test2() {
9
 
    %tmp = alloca [ 4168 x i8 ] , align 4
10
 
    ret void
11
 
}
12
 
 
13
 
define i32 @test3() {
14
 
        %retval = alloca i32, align 4
15
 
        %tmp = alloca i32, align 4
16
 
        %a = alloca [805306369 x i8], align 16
17
 
        store i32 0, i32* %tmp
18
 
        %tmp1 = load i32* %tmp
19
 
        ret i32 %tmp1
20
 
}