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

« back to all changes in this revision

Viewing changes to libclamav/c++/llvm/test/CodeGen/PowerPC/2006-12-07-SelectCrash.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=ppc64
2
 
; RUN: llc < %s -march=ppc32
3
 
; RUN: llc < %s
4
 
 
5
 
@qsz.b = external global i1             ; <i1*> [#uses=1]
6
 
 
7
 
define fastcc void @qst() {
8
 
entry:
9
 
        br i1 true, label %cond_next71, label %cond_true
10
 
cond_true:              ; preds = %entry
11
 
        ret void
12
 
cond_next71:            ; preds = %entry
13
 
        %tmp73.b = load i1* @qsz.b              ; <i1> [#uses=1]
14
 
        %ii.4.ph = select i1 %tmp73.b, i64 4, i64 0             ; <i64> [#uses=1]
15
 
        br label %bb139
16
 
bb82:           ; preds = %bb139
17
 
        ret void
18
 
bb139:          ; preds = %bb139, %cond_next71
19
 
        %exitcond89 = icmp eq i64 0, %ii.4.ph           ; <i1> [#uses=1]
20
 
        br i1 %exitcond89, label %bb82, label %bb139
21
 
}
22