All of lore.kernel.org
 help / color / mirror / Atom feed
* [ALSA - lib 0000389]: random buffer snd_output_t issues
@ 2004-07-15 18:14 noreply
  0 siblings, 0 replies; 5+ messages in thread
From: noreply @ 2004-07-15 18:14 UTC (permalink / raw)
  To: alsa-devel


A BUGNOTE has been added to this bug.
======================================================================
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000389
======================================================================
Reported By:                Benjamin Otte
Assigned To:                
======================================================================
Project:                    ALSA - lib
Bug ID:                     389
Category:                   general
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             07-15-2004 20:09 CEST
Last Modified:              07-15-2004 20:14 CEST
======================================================================
Summary:                    random buffer snd_output_t issues
Description: 
There are several issues with using a snd_output_t acquired from
snd_output_buffer_open(). These cause random segfaults because of
writing/reading invalid memory.
The attached patch fixes those issues.

======================================================================

----------------------------------------------------------------------
 Benjamin Otte - 07-15-2004 20:14 CEST 
----------------------------------------------------------------------
patch to fix the issues.
These include:
- snd_output_buffer_need might not resize the buffer to be big enough, if
huge sizes are required.
- calculating the needed buffer size does not take care of the terminating
null byte vsprintf puts at the end. So in rare cases, the buffer is
exactly one byte too small. Use vsnprintf instead to guard against these
problems.
- snd_output_buffer_print does not correct the size member for the number
of bytes added.

Bug History
Date Modified  Username       Field                    Change              
======================================================================
07-15-04 20:09 Benjamin Otte  New Bug                                      
07-15-04 20:09 Benjamin Otte  File Added: test-overwrite.c                    
07-15-04 20:14 Benjamin Otte  Bugnote Added: 0001438                       
======================================================================


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click

^ permalink raw reply	[flat|nested] 5+ messages in thread
* [ALSA - lib 0000389]: random buffer snd_output_t issues
@ 2004-09-24 11:34 bugtrack
  0 siblings, 0 replies; 5+ messages in thread
From: bugtrack @ 2004-09-24 11:34 UTC (permalink / raw)
  To: alsa-devel


The following bug has been CLOSED
======================================================================
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000389
======================================================================
Reported By:                Benjamin Otte
Assigned To:                Clemens Ladisch
======================================================================
Project:                    ALSA - lib
Bug ID:                     389
Category:                   general
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     closed
======================================================================
Date Submitted:             07-15-2004 20:09 CEST
Last Modified:              09-24-2004 13:34 CEST
======================================================================
Summary:                    random buffer snd_output_t issues
Description: 
There are several issues with using a snd_output_t acquired from
snd_output_buffer_open(). These cause random segfaults because of
writing/reading invalid memory.
The attached patch fixes those issues.

======================================================================

----------------------------------------------------------------------
 Benjamin Otte - 07-15-2004 20:14 CEST 
----------------------------------------------------------------------
patch to fix the issues.
These include:
- snd_output_buffer_need might not resize the buffer to be big enough, if
huge sizes are required.
- calculating the needed buffer size does not take care of the terminating
null byte vsprintf puts at the end. So in rare cases, the buffer is
exactly one byte too small. Use vsnprintf instead to guard against these
problems.
- snd_output_buffer_print does not correct the size member for the number
of bytes added.

Bug History
Date Modified  Username       Field                    Change              
======================================================================
07-15-04 20:09 Benjamin Otte  New Bug                                      
07-15-04 20:09 Benjamin Otte  File Added: test-overwrite.c                    
07-15-04 20:14 Benjamin Otte  Bugnote Added: 0001438                       
07-15-04 20:15 Benjamin Otte  File Added: output-buffer.patch                    
07-20-04 17:36 Clemens LadischAssigned To               => Clemens Ladisch 
07-20-04 17:36 Clemens LadischStatus                   new => assigned     
07-20-04 17:36 Clemens LadischResolution               open => fixed       
07-20-04 17:36 Clemens LadischStatus                   assigned => resolved
09-24-04 13:34 tiwai          Status                   resolved => closed  
======================================================================


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php

^ permalink raw reply	[flat|nested] 5+ messages in thread
* [ALSA - lib 0000389]: random buffer snd_output_t issues
@ 2004-07-20 15:36 noreply
  0 siblings, 0 replies; 5+ messages in thread
From: noreply @ 2004-07-20 15:36 UTC (permalink / raw)
  To: alsa-devel


The following bug has been RESOLVED.
======================================================================
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000389
======================================================================
Reported By:                Benjamin Otte
Assigned To:                Clemens Ladisch
======================================================================
Project:                    ALSA - lib
Bug ID:                     389
Category:                   general
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     resolved
Resolution:                 fixed
======================================================================
Date Submitted:             07-15-2004 20:09 CEST
Last Modified:              07-20-2004 17:36 CEST
======================================================================
Summary:                    random buffer snd_output_t issues
Description: 
There are several issues with using a snd_output_t acquired from
snd_output_buffer_open(). These cause random segfaults because of
writing/reading invalid memory.
The attached patch fixes those issues.

======================================================================

----------------------------------------------------------------------
 Benjamin Otte - 07-15-2004 20:14 CEST 
----------------------------------------------------------------------
patch to fix the issues.
These include:
- snd_output_buffer_need might not resize the buffer to be big enough, if
huge sizes are required.
- calculating the needed buffer size does not take care of the terminating
null byte vsprintf puts at the end. So in rare cases, the buffer is
exactly one byte too small. Use vsnprintf instead to guard against these
problems.
- snd_output_buffer_print does not correct the size member for the number
of bytes added.

Bug History
Date Modified  Username       Field                    Change              
======================================================================
07-15-04 20:09 Benjamin Otte  New Bug                                      
07-15-04 20:09 Benjamin Otte  File Added: test-overwrite.c                    
07-15-04 20:14 Benjamin Otte  Bugnote Added: 0001438                       
07-15-04 20:15 Benjamin Otte  File Added: output-buffer.patch                    
07-20-04 17:36 Clemens LadischAssigned To               => Clemens Ladisch 
07-20-04 17:36 Clemens LadischStatus                   new => assigned     
07-20-04 17:36 Clemens LadischResolution               open => fixed       
07-20-04 17:36 Clemens LadischStatus                   assigned => resolved
======================================================================


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click

^ permalink raw reply	[flat|nested] 5+ messages in thread
* [ALSA - lib 0000389]: random buffer snd_output_t issues
@ 2004-07-20 15:36 noreply
  0 siblings, 0 replies; 5+ messages in thread
From: noreply @ 2004-07-20 15:36 UTC (permalink / raw)
  To: alsa-devel


The following bug has been ASSIGNED.
======================================================================
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000389
======================================================================
Reported By:                Benjamin Otte
Assigned To:                Clemens Ladisch
======================================================================
Project:                    ALSA - lib
Bug ID:                     389
Category:                   general
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     assigned
======================================================================
Date Submitted:             07-15-2004 20:09 CEST
Last Modified:              07-20-2004 17:36 CEST
======================================================================
Summary:                    random buffer snd_output_t issues
Description: 
There are several issues with using a snd_output_t acquired from
snd_output_buffer_open(). These cause random segfaults because of
writing/reading invalid memory.
The attached patch fixes those issues.

======================================================================

----------------------------------------------------------------------
 Benjamin Otte - 07-15-2004 20:14 CEST 
----------------------------------------------------------------------
patch to fix the issues.
These include:
- snd_output_buffer_need might not resize the buffer to be big enough, if
huge sizes are required.
- calculating the needed buffer size does not take care of the terminating
null byte vsprintf puts at the end. So in rare cases, the buffer is
exactly one byte too small. Use vsnprintf instead to guard against these
problems.
- snd_output_buffer_print does not correct the size member for the number
of bytes added.

Bug History
Date Modified  Username       Field                    Change              
======================================================================
07-15-04 20:09 Benjamin Otte  New Bug                                      
07-15-04 20:09 Benjamin Otte  File Added: test-overwrite.c                    
07-15-04 20:14 Benjamin Otte  Bugnote Added: 0001438                       
07-15-04 20:15 Benjamin Otte  File Added: output-buffer.patch                    
07-20-04 17:36 Clemens LadischAssigned To               => Clemens Ladisch 
07-20-04 17:36 Clemens LadischStatus                   new => assigned     
======================================================================


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click

^ permalink raw reply	[flat|nested] 5+ messages in thread
* [ALSA - lib 0000389]: random buffer snd_output_t issues
@ 2004-07-15 18:09 noreply
  0 siblings, 0 replies; 5+ messages in thread
From: noreply @ 2004-07-15 18:09 UTC (permalink / raw)
  To: alsa-devel


The following bug has been SUBMITTED.
======================================================================
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000389
======================================================================
Reported By:                Benjamin Otte
Assigned To:                
======================================================================
Project:                    ALSA - lib
Bug ID:                     389
Category:                   general
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             07-15-2004 20:09 CEST
Last Modified:              07-15-2004 20:09 CEST
======================================================================
Summary:                    random buffer snd_output_t issues
Description: 
There are several issues with using a snd_output_t acquired from
snd_output_buffer_open(). These cause random segfaults because of
writing/reading invalid memory.
The attached patch fixes those issues.

======================================================================

Bug History
Date Modified  Username       Field                    Change              
======================================================================
07-15-04 20:09 Benjamin Otte  New Bug                                      
07-15-04 20:09 Benjamin Otte  File Added: test-overwrite.c                    
======================================================================


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-09-24 11:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-15 18:14 [ALSA - lib 0000389]: random buffer snd_output_t issues noreply
  -- strict thread matches above, loose matches on Subject: below --
2004-09-24 11:34 bugtrack
2004-07-20 15:36 noreply
2004-07-20 15:36 noreply
2004-07-15 18:09 noreply

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.