<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/c8e15973bc3c1e1ab371bc0ee2de14209e639f17">https://github.com/macports/macports-ports/commit/c8e15973bc3c1e1ab371bc0ee2de14209e639f17</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit c8e15973bc3c1e1ab371bc0ee2de14209e639f17
</span>Author: Ken Cunningham <kencu@macports.org>
AuthorDate: Mon Jan 30 08:36:25 2023 -0800
<span style='display:block; white-space:pre;color:#404040;'> cdparanoia: fix buffer overrun on Ventura
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> this minor error has been in the patch forever, but
</span><span style='display:block; white-space:pre;color:#404040;'> was flagged on Ventura.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> kudos to @chrstphrchvz
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> closes: https://trac.macports.org/ticket/66153
</span>---
audio/cdparanoia/Portfile | 2 +-
audio/cdparanoia/files/osx_interface.patch | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/cdparanoia/Portfile b/audio/cdparanoia/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 2d7f3aef939..d0629e9d54d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/audio/cdparanoia/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/cdparanoia/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,7 +5,7 @@ PortSystem 1.0
</span> name cdparanoia
epoch 20050508
version 10.2
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 3
</span> categories audio
maintainers {jeremyhu @jeremyhu} openmaintainer
license GPL-2+ LGPL-2.1+
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/audio/cdparanoia/files/osx_interface.patch b/audio/cdparanoia/files/osx_interface.patch
</span><span style='display:block; white-space:pre;color:#808080;'>index 827a3fb2e44..37d830ea70b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/audio/cdparanoia/files/osx_interface.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/audio/cdparanoia/files/osx_interface.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -456,7 +456,7 @@ index 0000000..f672316
</span> + return -1;
+ }
+
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+ buf_len = CFDataGetLength(data) + 1;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ buf_len = CFDataGetLength(data);
</span> + range = CFRangeMake(0, buf_len);
+
+ d->raw_toc = (CDTOC *)malloc(buf_len);
</pre><pre style='margin:0'>
</pre>