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

« back to all changes in this revision

Viewing changes to libclamav/c++/llvm/test/CodeGen/ARM/tls2.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 -mtriple=arm-linux-gnueabi \
2
 
; RUN:   | FileCheck %s -check-prefix=CHECK-NONPIC
3
 
; RUN: llc < %s -march=arm -mtriple=arm-linux-gnueabi \
4
 
; RUN:   -relocation-model=pic | FileCheck %s -check-prefix=CHECK-PIC
5
 
 
6
 
@i = external thread_local global i32           ; <i32*> [#uses=2]
7
 
 
8
 
define i32 @f() {
9
 
; CHECK-NONPIC: f:
10
 
; CHECK-NONPIC: ldr {{r.}}, [pc, +{{r.}}]
11
 
; CHECK-NONPIC: i(gottpoff)
12
 
; CHECK-PIC: f:
13
 
; CHECK-PIC: __tls_get_addr
14
 
entry:
15
 
        %tmp1 = load i32* @i            ; <i32> [#uses=1]
16
 
        ret i32 %tmp1
17
 
}
18
 
 
19
 
define i32* @g() {
20
 
; CHECK-NONPIC: g:
21
 
; CHECK-NONPIC: ldr {{r.}}, [pc, +{{r.}}]
22
 
; CHECK-NONPIC: i(gottpoff)
23
 
; CHECK-PIC: g:
24
 
; CHECK-PIC: __tls_get_addr
25
 
entry:
26
 
        ret i32* @i
27
 
}