~ubuntu-branches/ubuntu/gutsy/linux-source-2.6.22/gutsy-updates

« back to all changes in this revision

Viewing changes to sound/core/seq/oss/seq_oss_synth.c

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Bader, Stefan Bader, Upstream Kernel Changes
  • Date: 2008-08-14 10:11:31 UTC
  • Revision ID: james.westby@ubuntu.com-20080814101131-zq1nshdgm9dj9qbu
Tags: 2.6.22-15.58
[Stefan Bader]

* mm: Fix zero length segment loop
  - LP: #249340
  follow-up for CVE-2008-0598

[Upstream Kernel Changes]

* Fix compiler warning on 64-bit
  follow-up for CVE-2008-1673
* netfilter: nf_nat_snmp_basic: fix a range check in NAT for SNMP
  follow-up for CVE-2008-1673

Show diffs side-by-side

added added

removed removed

Lines of Context:
599
599
{
600
600
        struct seq_oss_synth *rec;
601
601
 
 
602
        if (dev < 0 || dev >= dp->max_synthdev)
 
603
                return -ENXIO;
 
604
 
602
605
        if (dp->synths[dev].is_midi) {
603
606
                struct midi_info minf;
604
607
                snd_seq_oss_midi_make_info(dp, dp->synths[dev].midi_mapped, &minf);