All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael <leahcim@ntlworld.com>
To: linux-kernel@vger.kernel.org
Subject: [ALSA] emu10k1 driver oops loading large soundfont 2.6.3
Date: Mon, 23 Feb 2004 05:23:08 +0000	[thread overview]
Message-ID: <40398E3C.7020900@ntlworld.com> (raw)

please CC: me on replies

In struct snd_emu10k1_memblk in include/sound/emu10k1.h first_page and 
last_page are defined as short.
                                                                                

Loading a soundfont that goes beyond 32767 pages causes an oops because 
{first|last}_page go negative in snd_emu10k1_sample_new 
(sound/pci/emu10k1/emu10k1_patch.c) as sfxload loads the font.

Changing {first|last}_page to int allows the soundfont to load and it 
appears to work fine.

-- 
Michael.


             reply	other threads:[~2004-02-23  5:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-23  5:23 Michael [this message]
2004-02-23  5:44 ` [ALSA] emu10k1 driver oops loading large soundfont 2.6.3 Willy Tarreau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40398E3C.7020900@ntlworld.com \
    --to=leahcim@ntlworld.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.