- Sep 15, 2024
-
-
On AIX, compilation fails saying src/http.c: In function 'op_http_conn_start_tls': src/http.c:1944:5: warning: ISO C forbids nested functions [-Wpedantic] 1944 | int ip_len; | ^~~ In file included from /usr/include/netinet/tcp.h:115, from src/http.c:345: src/http.c:1944:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token 1944 | int ip_len; src/http.c:1944:24: error: expected expression before '.' token src/http.c:1949:5: error: 'ip_ff' undeclared (first use in this function); did you mean 'ip_fv'? 1949 | ip_len=0; because `/usr/include/netinet/ip-h` contains #define ip_len ip_ff.ip_flen The obvious solution os to rename the int variable to something else.
-
- Nov 22, 2022
-
-
Sam James authored
In preparation for C23. Fixes the following error if Clang 16 is cranked up to be stricter: ``` -warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] +error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] ``` Bug: https://bugs.gentoo.org/879707 Signed-off-by: Sam James <sam@gentoo.org>
-
- Sep 07, 2022
-
-
Ralph Giles authored
Instead of segfault, report OP_EFAULT if ogg_sync_buffer returns a null pointer. This allows more graceful recovery by the caller in the unlikely event of a fallible ogg_malloc call. We do check the return value elsewhere in the code, so the new checks make the code more consistent. Thanks to https://github.com/xiph/opusfile/issues/36 for reporting. Signed-off-by: Timothy B. Terriberry <tterribe@xiph.org> Signed-off-by: Mark Harris <mark.hsj@gmail.com>
-
- Jan 15, 2022
-
-
Signed-off-by: Ralph Giles <giles@thaumas.net> Signed-off-by: evpobr <evpobr@gmail.com>
-
Signed-off-by: Ralph Giles <giles@thaumas.net> Signed-off-by: evpobr <evpobr@gmail.com>
-
Signed-off-by: Ralph Giles <giles@thaumas.net> Signed-off-by: evpobr <evpobr@gmail.com>
-
Signed-off-by: Ralph Giles <giles@thaumas.net> Signed-off-by: evpobr <evpobr@gmail.com>
-
Signed-off-by: Ralph Giles <giles@thaumas.net> Signed-off-by: evpobr <evpobr@gmail.com>
-
Signed-off-by: Ralph Giles <giles@thaumas.net> Signed-off-by: evpobr <evpobr@gmail.com>
-
Signed-off-by: Ralph Giles <giles@thaumas.net> Signed-off-by: evpobr <evpobr@gmail.com>
-
Signed-off-by: Ralph Giles <giles@thaumas.net> Signed-off-by: evpobr <evpobr@gmail.com>
-
Signed-off-by: Ralph Giles <giles@thaumas.net> Signed-off-by: evpobr <evpobr@gmail.com>
-
Signed-off-by: Ralph Giles <giles@thaumas.net> Signed-off-by: evpobr <evpobr@gmail.com>
-
Signed-off-by: Ralph Giles <giles@thaumas.net> Signed-off-by: evpobr <evpobr@gmail.com>
-
Signed-off-by: Ralph Giles <giles@thaumas.net> Signed-off-by: evpobr <evpobr@gmail.com>
-
Signed-off-by: Ralph Giles <giles@thaumas.net> Signed-off-by: evpobr <evpobr@gmail.com>
-
Signed-off-by: Ralph Giles <giles@thaumas.net> Signed-off-by: evpobr <evpobr@gmail.com>
-
Signed-off-by: Ralph Giles <giles@thaumas.net> Signed-off-by: evpobr <evpobr@gmail.com>
-
Signed-off-by: Ralph Giles <giles@thaumas.net> Signed-off-by: evpobr <evpobr@gmail.com>
-
Signed-off-by: Ralph Giles <giles@thaumas.net> Signed-off-by: evpobr <evpobr@gmail.com>
-
Signed-off-by: Ralph Giles <giles@thaumas.net> Signed-off-by: evpobr <evpobr@gmail.com>
-
Signed-off-by: Ralph Giles <giles@thaumas.net> Signed-off-by: evpobr <evpobr@gmail.com>
-
Signed-off-by: Ralph Giles <giles@thaumas.net> Signed-off-by: evpobr <evpobr@gmail.com>
-
Signed-off-by: Ralph Giles <giles@thaumas.net> Signed-off-by: evpobr <evpobr@gmail.com>
-
Signed-off-by: Ralph Giles <giles@thaumas.net> Signed-off-by: evpobr <evpobr@gmail.com>
-
Signed-off-by: Ralph Giles <giles@thaumas.net> Signed-off-by: evpobr <evpobr@gmail.com>
-
Signed-off-by: Ralph Giles <giles@thaumas.net> Signed-off-by: evpobr <evpobr@gmail.com>
-
Signed-off-by: Ralph Giles <giles@thaumas.net> Signed-off-by: evpobr <evpobr@gmail.com>
-
Signed-off-by: Ralph Giles <giles@thaumas.net> Signed-off-by: evpobr <evpobr@gmail.com>
-
- Oct 23, 2021
-
-
HREF based links work in the PDF documentation but not in the HTML documentation because the callback routines are on a different HTML page. Signed-off-by: Ralph Giles <giles@thaumas.net>
-
Since doxygen 1.8.16, opening and closing a group must not be done as C comment but as doxygen command. In other words, not one but two asterisk characters are required so that doxygen finds a group. Fixes #2332 Signed-off-by: Ralph Giles <giles@thaumas.net>
-
It is OK to say, those are not used, yet. Signed-off-by: Ralph Giles <giles@thaumas.net>
-
- Jul 29, 2021
-
-
Ralph Giles authored
This avoids redundancy and conforms to more recent style.
-
- May 31, 2021
-
-
Ralph Giles authored
Add checksums for the first two source releases for completeness. These are copied from and verified against downloads.xiph.org.
-
Ralph Giles authored
We keep checksums of the release packages in the repo as a redundant and trustworthy reference. I found these in an old working repo; it looks like they weren't committed after the 0.12 release last year. Checked against the files on downloads.xiph.org.
-
- May 26, 2021
-
-
Ralph Giles authored
The channel as moved to the new network.
-
- Dec 16, 2020
-
-
Timothy B. Terriberry authored
When we were checking the current file offset to see if we should use it as the starting bisection point, we assumed that offset was larger than the start of the data range for that link (and consequently, inside the bisection range). If there is a random page earlier in the file that happens to use the same serial number as a link we identified later in the file at file open time, and we had stopped reading there before the seek, then this assumption might not be true. Ironically, it was not the case that contained the assertion that had trouble with such an offset. It would fail the check that we were cutting off more than half the range, since we were actually cutting off a negative amount, and fall back to the midpoint of the link as the first bisection point. However, the case below that (where the target comes after the current timestamp), we might have erroneously cut off the entire range (setting end to offset, which was less than begin), causing the seek to immediately fail. Instead, validate the curent offset against both ends of the link before attempting to use it as the initial bisection point. Thanks to Felicia Lim for the report. Fixes #2331
-
Timothy B. Terriberry authored
Although link enumeration ensures the return value is in range, the order of operations allows the intermediate value pcm_total+diff to overflow the range of a 64-bit int. Add parentheses to ensure this does not happen. Thanks to Felcia Lim for the report. Fixes #2330
-
- Oct 13, 2020
-
-
Timothy B. Terriberry authored
When a file is very, very short (i.e., only one packet) and uses end-trimming, the apparent granule position preceding the first sample in the first packet can underflow. We were computing this value by subtracting the packet duration from the computed per-packet granule position and expecting this computation to always succeed. Because it could fail in the presence of end-trimming on the first packet (ironically, exactly the situation where the short-circuit is helpful), it would leave the value uninitialized, and then use it in a comparison, which is undefined behavior. The correct solution is to check for failure and force the previous page's granule position to 0 in this case.
-
- Sep 16, 2020
-
-
Timothy B. Terriberry authored
We were attempting to ensure a minimum spacing between granule positions when guessing the start of a link location. However, we took a strictly-positive granule position, added a fixed increment with op_granpos_add(), and checked if op_granpos_add() failed. op_granpos_add() only fails if the sum would have overflowed past zero, which can never happen when adding two strictly positive granule positions. Instead, we need to check if the result becomes negative (which is a legal granule position, but violates our assumptions in the search). Thanks to Felicia Lim for the report.
-