FreeBSD Bugzilla – Attachment 188135 Details for
Bug 213262
audio/sox: Play mode segfaults when releasing the device.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
sox.diff
sox.diff (text/plain), 1.22 KB, created by
Tobias Kortkamp
on 2017-11-20 07:44:21 UTC
(
hide
)
Description:
sox.diff
Filename:
MIME Type:
Creator:
Tobias Kortkamp
Created:
2017-11-20 07:44:21 UTC
Size:
1.22 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 454532) >+++ Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= sox > PORTVERSION= 14.4.2 >-PORTREVISION= 2 >+PORTREVISION= 3 > CATEGORIES= audio > MASTER_SITES= SF > >Index: files/patch-src_oss.c >=================================================================== >--- files/patch-src_oss.c (nonexistent) >+++ files/patch-src_oss.c (working copy) >@@ -0,0 +1,14 @@ >+$NetBSD: patch-src_oss.c,v 1.1 2015/05/25 19:06:24 bsiegert Exp $ >+ >+Fix segfault when playing (PR pkg/49929). >+--- src/oss.c.orig 2015-05-25 18:58:54.000000000 +0000 >++++ src/oss.c >+@@ -369,7 +369,7 @@ static size_t osswrite( >+ size_t cbStride; >+ int cbWritten; >+ >+- cStride = cInput; >++ cStride = cInputRemaining; >+ if (cStride > pPriv->cOutput) { >+ cStride = pPriv->cOutput; >+ } > >Property changes on: files/patch-src_oss.c >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
dnelson
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 213262
: 188135