[-]
[+]
|
Changed |
asterisk.spec
|
|
[-]
[+]
|
Deleted |
asterisk-1.4.39.1.tar.bz2/asterisk-1.4.39.1-summary.html
^
|
@@ -1,61 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><title>Release Summary - asterisk-1.4.39.1</title></head>
-<body>
-<h1 align="center"><a name="top">Release Summary</a></h1>
-<h3 align="center">asterisk-1.4.39.1</h3>
-<h3 align="center">Date: 2011-01-17</h3>
-<h3 align="center"><asteriskteam@digium.com></h3>
-<hr/>
-<h2 align="center">Table of Contents</h2>
-<ol>
- <li><a href="#summary">Summary</a></li>
- <li><a href="#contributors">Contributors</a></li>
- <li><a href="#commits">Other Changes</a></li>
- <li><a href="#diffstat">Diffstat</a></li>
-</ol>
-<hr/>
-<a name="summary"><h2 align="center">Summary</h2></a>
-<center><a href="#top">[Back to Top]</a></center><br/><p>This release has been made to address one or more security vulnerabilities that have been identified. A security advisory document has been published for each vulnerability that includes additional information. Users of versions of Asterisk that are affected are strongly encouraged to review the advisories and determine what action they should take to protect their systems from these issues.</p>
-<p>Security Advisories: <a href="http://downloads.asterisk.org/pub/security/AST-2011-001.html">AST-2011-001</a></p>
-<p>The data in this summary reflects changes that have been made since the previous release, asterisk-1.4.39.</p>
-<hr/>
-<a name="contributors"><h2 align="center">Contributors</h2></a>
-<center><a href="#top">[Back to Top]</a></center><br/><p>This table lists the people who have submitted code, those that have tested patches, as well as those that reported issues on the issue tracker that were resolved in this release. For coders, the number is how many of their patches (of any size) were committed into this release. For testers, the number is the number of times their name was listed as assisting with testing a patch. Finally, for reporters, the number is the number of issues that they reported that were closed by commits that went into this release.</p>
-<table width="100%" border="0">
-<tr>
-<td width="33%"><h3>Coders</h3></td>
-<td width="33%"><h3>Testers</h3></td>
-<td width="33%"><h3>Reporters</h3></td>
-</tr>
-<tr valign="top">
-<td>
-2 lmadsen<br/>
-</td>
-<td>
-</td>
-<td>
-</td>
-</tr>
-</table>
-<hr/>
-<a name="commits"><h2 align="center">Commits Not Associated with an Issue</h2></a>
-<center><a href="#top">[Back to Top]</a></center><br/><p>This is a list of all changes that went into this release that did not directly close an issue from the issue tracker. The commits may have been marked as being related to an issue. If that is the case, the issue numbers are listed here, as well.</p>
-<table width="100%" border="1">
-<tr><td><b>Revision</b></td><td><b>Author</b></td><td><b>Summary</b></td><td><b>Issues Referenced</b></td></tr><tr><td><a href="http://svn.digium.com/view/asterisk/tags/1.4.39.1?view=revision&revision=302089">302089</a></td><td>lmadsen</td><td>Create 1.4.39.1 from 1.4.39.</td>
-<td></td></tr><tr><td><a href="http://svn.digium.com/view/asterisk/tags/1.4.39.1?view=revision&revision=302145">302145</a></td><td>lmadsen</td><td>AST-2011-001</td>
-<td></td></tr></table>
-<hr/>
-<a name="diffstat"><h2 align="center">Diffstat Results</h2></a>
-<center><a href="#top">[Back to Top]</a></center><br/><p>This is a summary of the changes to the source code that went into this release that was generated using the diffstat utility.</p>
-<pre>
-.version | 2
-ChangeLog | 6
-asterisk-1.4.39-summary.html | 220 --------------------------------
-asterisk-1.4.39-summary.txt | 291 -------------------------------------------
-main/utils.c | 27 +--
-5 files changed, 20 insertions(+), 526 deletions(-)
-</pre><br/>
-<hr/>
-</body>
-</html>
|
[-]
[+]
|
Deleted |
asterisk-1.4.39.1.tar.bz2/asterisk-1.4.39.1-summary.txt
^
|
@@ -1,89 +0,0 @@
- Release Summary
-
- asterisk-1.4.39.1
-
- Date: 2011-01-17
-
- <asteriskteam@digium.com>
-
- ----------------------------------------------------------------------
-
- Table of Contents
-
- 1. Summary
- 2. Contributors
- 3. Other Changes
- 4. Diffstat
-
- ----------------------------------------------------------------------
-
- Summary
-
- [Back to Top]
-
- This release has been made to address one or more security vulnerabilities
- that have been identified. A security advisory document has been published
- for each vulnerability that includes additional information. Users of
- versions of Asterisk that are affected are strongly encouraged to review
- the advisories and determine what action they should take to protect their
- systems from these issues.
-
- Security Advisories: AST-2011-001
-
- The data in this summary reflects changes that have been made since the
- previous release, asterisk-1.4.39.
-
- ----------------------------------------------------------------------
-
- Contributors
-
- [Back to Top]
-
- This table lists the people who have submitted code, those that have
- tested patches, as well as those that reported issues on the issue tracker
- that were resolved in this release. For coders, the number is how many of
- their patches (of any size) were committed into this release. For testers,
- the number is the number of times their name was listed as assisting with
- testing a patch. Finally, for reporters, the number is the number of
- issues that they reported that were closed by commits that went into this
- release.
-
- Coders Testers Reporters
- 2 lmadsen
-
- ----------------------------------------------------------------------
-
- Commits Not Associated with an Issue
-
- [Back to Top]
-
- This is a list of all changes that went into this release that did not
- directly close an issue from the issue tracker. The commits may have been
- marked as being related to an issue. If that is the case, the issue
- numbers are listed here, as well.
-
- +------------------------------------------------------------------------+
- | Revision | Author | Summary | Issues Referenced |
- |-----------+---------+------------------------------+-------------------|
- | 302089 | lmadsen | Create 1.4.39.1 from 1.4.39. | |
- |-----------+---------+------------------------------+-------------------|
- | 302145 | lmadsen | AST-2011-001 | |
- +------------------------------------------------------------------------+
-
- ----------------------------------------------------------------------
-
- Diffstat Results
-
- [Back to Top]
-
- This is a summary of the changes to the source code that went into this
- release that was generated using the diffstat utility.
-
- .version | 2
- ChangeLog | 6
- asterisk-1.4.39-summary.html | 220 --------------------------------
- asterisk-1.4.39-summary.txt | 291 -------------------------------------------
- main/utils.c | 27 +--
- 5 files changed, 20 insertions(+), 526 deletions(-)
-
- ----------------------------------------------------------------------
|
[-]
[+]
|
Changed |
asterisk-1.4.39.2.tar.bz2/.version
^
|
@@ -1 +1 @@
-1.4.39.1
+1.4.39.2
|
[-]
[+]
|
Changed |
asterisk-1.4.39.2.tar.bz2/ChangeLog
^
|
@@ -1,3 +1,10 @@
+2011-02-21 Leif Madsen <lmadsen@digium.com>
+
+ * Asterisk 1.4.39.2 Released.
+
+ * AST-2011-002: Multiple array overflow and crash vulnerabilities in
+ UDPTL code
+
2011-01-17 Leif Madsen <lmadsen@digium.com>
* Asterisk 1.4.39.1 Released.
|
[-]
[+]
|
Added |
asterisk-1.4.39.2.tar.bz2/asterisk-1.4.39.2-summary.html
^
|
@@ -0,0 +1,65 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /><title>Release Summary - asterisk-1.4.39.2</title></head>
+<body>
+<h1 align="center"><a name="top">Release Summary</a></h1>
+<h3 align="center">asterisk-1.4.39.2</h3>
+<h3 align="center">Date: 2011-02-21</h3>
+<h3 align="center"><asteriskteam@digium.com></h3>
+<hr/>
+<h2 align="center">Table of Contents</h2>
+<ol>
+ <li><a href="#summary">Summary</a></li>
+ <li><a href="#contributors">Contributors</a></li>
+ <li><a href="#commits">Other Changes</a></li>
+ <li><a href="#diffstat">Diffstat</a></li>
+</ol>
+<hr/>
+<a name="summary"><h2 align="center">Summary</h2></a>
+<center><a href="#top">[Back to Top]</a></center><br/><p>This release has been made to address one or more security vulnerabilities that have been identified. A security advisory document has been published for each vulnerability that includes additional information. Users of versions of Asterisk that are affected are strongly encouraged to review the advisories and determine what action they should take to protect their systems from these issues.</p>
+<p>Security Advisories: <a href="http://downloads.asterisk.org/pub/security/AST-2011-002.html">AST-2011-002</a></p>
+<p>The data in this summary reflects changes that have been made since the previous release, asterisk-1.4.39.1.</p>
+<hr/>
+<a name="contributors"><h2 align="center">Contributors</h2></a>
+<center><a href="#top">[Back to Top]</a></center><br/><p>This table lists the people who have submitted code, those that have tested patches, as well as those that reported issues on the issue tracker that were resolved in this release. For coders, the number is how many of their patches (of any size) were committed into this release. For testers, the number is the number of times their name was listed as assisting with testing a patch. Finally, for reporters, the number is the number of issues that they reported that were closed by commits that went into this release.</p>
+<table width="100%" border="0">
+<tr>
+<td width="33%"><h3>Coders</h3></td>
+<td width="33%"><h3>Testers</h3></td>
+<td width="33%"><h3>Reporters</h3></td>
+</tr>
+<tr valign="top">
+<td>
+6 lmadsen<br/>
+</td>
+<td>
+</td>
+<td>
+</td>
+</tr>
+</table>
+<hr/>
+<a name="commits"><h2 align="center">Commits Not Associated with an Issue</h2></a>
+<center><a href="#top">[Back to Top]</a></center><br/><p>This is a list of all changes that went into this release that did not directly close an issue from the issue tracker. The commits may have been marked as being related to an issue. If that is the case, the issue numbers are listed here, as well.</p>
+<table width="100%" border="1">
+<tr><td><b>Revision</b></td><td><b>Author</b></td><td><b>Summary</b></td><td><b>Issues Referenced</b></td></tr><tr><td><a href="http://svn.digium.com/view/asterisk/tags/1.4.39.2?view=revision&revision=308503">308503</a></td><td>lmadsen</td><td>Create 1.4.39.2 from 1.4.39.1</td>
+<td></td></tr><tr><td><a href="http://svn.digium.com/view/asterisk/tags/1.4.39.2?view=revision&revision=308506">308506</a></td><td>lmadsen</td><td>Merge changes related to AST-2011-002 and FAX-281.</td>
+<td></td></tr><tr><td><a href="http://svn.digium.com/view/asterisk/tags/1.4.39.2?view=revision&revision=308509">308509</a></td><td>lmadsen</td><td>Update .version and ChangeLog. Remove old summary files.</td>
+<td></td></tr><tr><td><a href="http://svn.digium.com/view/asterisk/tags/1.4.39.2?view=revision&revision=308514">308514</a></td><td>lmadsen</td><td>Update description in ChangeLog.</td>
+<td></td></tr><tr><td><a href="http://svn.digium.com/view/asterisk/tags/1.4.39.2?view=revision&revision=308519">308519</a></td><td>lmadsen</td><td>Importing release summary for 1.4.39.2 release.</td>
+<td></td></tr><tr><td><a href="http://svn.digium.com/view/asterisk/tags/1.4.39.2?view=revision&revision=308522">308522</a></td><td>lmadsen</td><td>Need to rebuild these summary files. Wrong option. Too many options<bang></td>
+<td></td></tr></table>
+<hr/>
+<a name="diffstat"><h2 align="center">Diffstat Results</h2></a>
+<center><a href="#top">[Back to Top]</a></center><br/><p>This is a summary of the changes to the source code that went into this release that was generated using the diffstat utility.</p>
+<pre>
+.version | 2
+ChangeLog | 7 +++
+asterisk-1.4.39.1-summary.html | 61 ----------------------------
+asterisk-1.4.39.1-summary.txt | 89 -----------------------------------------
+main/udptl.c | 49 ++++++++++------------
+5 files changed, 31 insertions(+), 177 deletions(-)
+</pre><br/>
+<hr/>
+</body>
+</html>
|
[-]
[+]
|
Added |
asterisk-1.4.39.2.tar.bz2/asterisk-1.4.39.2-summary.txt
^
|
@@ -0,0 +1,104 @@
+ Release Summary
+
+ asterisk-1.4.39.2
+
+ Date: 2011-02-21
+
+ <asteriskteam@digium.com>
+
+ ----------------------------------------------------------------------
+
+ Table of Contents
+
+ 1. Summary
+ 2. Contributors
+ 3. Other Changes
+ 4. Diffstat
+
+ ----------------------------------------------------------------------
+
+ Summary
+
+ [Back to Top]
+
+ This release has been made to address one or more security vulnerabilities
+ that have been identified. A security advisory document has been published
+ for each vulnerability that includes additional information. Users of
+ versions of Asterisk that are affected are strongly encouraged to review
+ the advisories and determine what action they should take to protect their
+ systems from these issues.
+
+ Security Advisories: AST-2011-002
+
+ The data in this summary reflects changes that have been made since the
+ previous release, asterisk-1.4.39.1.
+
+ ----------------------------------------------------------------------
+
+ Contributors
+
+ [Back to Top]
+
+ This table lists the people who have submitted code, those that have
+ tested patches, as well as those that reported issues on the issue tracker
+ that were resolved in this release. For coders, the number is how many of
+ their patches (of any size) were committed into this release. For testers,
+ the number is the number of times their name was listed as assisting with
+ testing a patch. Finally, for reporters, the number is the number of
+ issues that they reported that were closed by commits that went into this
+ release.
+
+ Coders Testers Reporters
+ 6 lmadsen
+
+ ----------------------------------------------------------------------
+
+ Commits Not Associated with an Issue
+
+ [Back to Top]
+
+ This is a list of all changes that went into this release that did not
+ directly close an issue from the issue tracker. The commits may have been
+ marked as being related to an issue. If that is the case, the issue
+ numbers are listed here, as well.
+
+ +------------------------------------------------------------------------+
+ | Revision | Author | Summary | Issues Referenced |
+ |----------+---------+-------------------------------+-------------------|
+ | 308503 | lmadsen | Create 1.4.39.2 from 1.4.39.1 | |
+ |----------+---------+-------------------------------+-------------------|
+ | 308506 | lmadsen | Merge changes related to | |
+ | | | AST-2011-002 and FAX-281. | |
+ |----------+---------+-------------------------------+-------------------|
+ | | | Update .version and | |
+ | 308509 | lmadsen | ChangeLog. Remove old summary | |
+ | | | files. | |
+ |----------+---------+-------------------------------+-------------------|
+ | 308514 | lmadsen | Update description in | |
+ | | | ChangeLog. | |
+ |----------+---------+-------------------------------+-------------------|
+ | 308519 | lmadsen | Importing release summary for | |
+ | | | 1.4.39.2 release. | |
+ |----------+---------+-------------------------------+-------------------|
+ | | | Need to rebuild these summary | |
+ | 308522 | lmadsen | files. Wrong option. Too many | |
+ | | | options | |
+ +------------------------------------------------------------------------+
+
+ ----------------------------------------------------------------------
+
+ Diffstat Results
+
+ [Back to Top]
+
+ This is a summary of the changes to the source code that went into this
+ release that was generated using the diffstat utility.
+
+ .version | 2
+ ChangeLog | 7 +++
+ asterisk-1.4.39.1-summary.html | 61 ----------------------------
+ asterisk-1.4.39.1-summary.txt | 89 -----------------------------------------
+ main/udptl.c | 49 ++++++++++------------
+ 5 files changed, 31 insertions(+), 177 deletions(-)
+
+ ----------------------------------------------------------------------
|
[-]
[+]
|
Changed |
asterisk-1.4.39.2.tar.bz2/main/udptl.c
^
|
@@ -17,7 +17,7 @@
#include "asterisk.h"
-ASTERISK_FILE_VERSION(__FILE__, "$Revision: 209131 $")
+ASTERISK_FILE_VERSION(__FILE__, "$Revision: 308506 $")
#include <stdio.h>
#include <stdlib.h>
@@ -175,37 +175,31 @@
}
*pvalue = (buf[*len] & 0x3F) << 14;
(*len)++;
- /* Indicate we have a fragment */
+ /* We have a fragment. Currently we don't process fragments. */
+ if (option_debug) {
+ ast_log(LOG_DEBUG, "UDPTL packet with length greater than 16K received, decoding will fail\n");
+ }
return 1;
}
/*- End of function --------------------------------------------------------*/
static int decode_open_type(uint8_t *buf, int limit, int *len, const uint8_t **p_object, int *p_num_octets)
{
- int octet_cnt;
- int octet_idx;
- int stat;
- int i;
- const uint8_t **pbuf;
+ int octet_cnt = 0;
- for (octet_idx = 0, *p_num_octets = 0; ; octet_idx += octet_cnt) {
- if ((stat = decode_length(buf, limit, len, &octet_cnt)) < 0)
- return -1;
- if (octet_cnt > 0) {
- *p_num_octets += octet_cnt;
+ if (decode_length(buf, limit, len, &octet_cnt) != 0)
+ return -1;
- pbuf = &p_object[octet_idx];
- i = 0;
- /* Make sure the buffer contains at least the number of bits requested */
- if ((*len + octet_cnt) > limit)
- return -1;
+ if (octet_cnt > 0) {
+ /* Make sure the buffer contains at least the number of bits requested */
+ if ((*len + octet_cnt) > limit)
+ return -1;
- *pbuf = &buf[*len];
- *len += octet_cnt;
- }
- if (stat == 0)
- break;
+ *p_num_octets = octet_cnt;
+ *p_object = &buf[*len];
+ *len += octet_cnt;
}
+
return 0;
}
/*- End of function --------------------------------------------------------*/
@@ -290,8 +284,8 @@
const uint8_t *data;
int ifp_len;
int repaired[16];
- const uint8_t *bufs[16];
- int lengths[16];
+ const uint8_t *bufs[ARRAY_LEN(s->f) - 1];
+ int lengths[ARRAY_LEN(s->f) - 1];
int span;
int entries;
int ifp_no;
@@ -321,13 +315,13 @@
do {
if ((stat2 = decode_length(buf, len, &ptr, &count)) < 0)
return -1;
- for (i = 0; i < count; i++) {
+ for (i = 0; i < count && total_count + i < ARRAY_LEN(bufs); i++) {
if ((stat = decode_open_type(buf, len, &ptr, &bufs[total_count + i], &lengths[total_count + i])) != 0)
return -1;
}
- total_count += count;
+ total_count += i;
}
- while (stat2 > 0);
+ while (stat2 > 0 && total_count < ARRAY_LEN(bufs));
/* Step through in reverse order, so we go oldest to newest */
for (i = total_count; i > 0; i--) {
if (seq_no - i >= s->rx_seq_no) {
@@ -390,6 +384,9 @@
if (ptr + 1 > len)
return -1;
entries = buf[ptr++];
+ if (entries > MAX_FEC_ENTRIES) {
+ return -1;
+ }
s->rx[x].fec_entries = entries;
/* Decode the elements */
|