<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mtk-20170518/package/utils, branch v17.01.6</title>
<subtitle>MTK 20170518 : Mediatek SDK based on OpenWRT Barrier Breaker</subtitle>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/'/>
<entry>
<title>bzip2: Fix CVE-2016-3189</title>
<updated>2018-08-30T11:15:06+00:00</updated>
<author>
<name>Rosen Penev</name>
<email>rosenp@gmail.com</email>
</author>
<published>2018-08-23T02:07:56+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=d3e325dfeffd0b407972e6716d5fd5c8acb6c962'/>
<id>d3e325dfeffd0b407972e6716d5fd5c8acb6c962</id>
<content type='text'>
Issue causes a crash with specially crafted bzip2 files.

More info: https://nvd.nist.gov/vuln/detail/CVE-2016-3189

Taken from Fedora.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
(cherry picked from commit f9469efbfa7ce892651f9a6da713eacbef66f177)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Issue causes a crash with specially crafted bzip2 files.

More info: https://nvd.nist.gov/vuln/detail/CVE-2016-3189

Taken from Fedora.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
(cherry picked from commit f9469efbfa7ce892651f9a6da713eacbef66f177)
</pre>
</div>
</content>
</entry>
<entry>
<title>mbedtls: change libmbedcrypto.so soversion back to 0</title>
<updated>2018-04-14T12:44:43+00:00</updated>
<author>
<name>Hauke Mehrtens</name>
<email>hauke@hauke-m.de</email>
</author>
<published>2018-04-14T12:33:46+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=09d95e44fc3d1a9f900b7305b10dc241a12d6f37'/>
<id>09d95e44fc3d1a9f900b7305b10dc241a12d6f37</id>
<content type='text'>
mbedtls changed in version 2.7.0 and 2.7.2 the soversion of the
libmbedcrypto.so library, use the old version again to be able to use
the new library with binaries compiled against the old mbedtls library.

Some binaries got rebuild to for the 2.7.0 release and are now using
libmbedcrypto.so.1, the older ones are still using libmbedcrypto.so.0.
Go back to libmbedcrypto.so.0 and make the system rebuild the binaries
which were rebuild for 2.7.0 again.

This should make the libmbedcrypto.so library be compatible with the old
version shipped with 17.01.

Fixes: 3ca1438ae0 ("mbedtls: update to version 2.7.2")
Fixes: f609913b5c ("mbedtls: update to version 2.7.0")
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
mbedtls changed in version 2.7.0 and 2.7.2 the soversion of the
libmbedcrypto.so library, use the old version again to be able to use
the new library with binaries compiled against the old mbedtls library.

Some binaries got rebuild to for the 2.7.0 release and are now using
libmbedcrypto.so.1, the older ones are still using libmbedcrypto.so.0.
Go back to libmbedcrypto.so.0 and make the system rebuild the binaries
which were rebuild for 2.7.0 again.

This should make the libmbedcrypto.so library be compatible with the old
version shipped with 17.01.

Fixes: 3ca1438ae0 ("mbedtls: update to version 2.7.2")
Fixes: f609913b5c ("mbedtls: update to version 2.7.0")
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mbedtls: update to version 2.7.0</title>
<updated>2018-03-10T17:37:04+00:00</updated>
<author>
<name>Hauke Mehrtens</name>
<email>hauke@hauke-m.de</email>
</author>
<published>2018-03-04T19:38:00+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=f609913b5c60f7c65c462730993cd1c752083fd6'/>
<id>f609913b5c60f7c65c462730993cd1c752083fd6</id>
<content type='text'>
This fixes the following security problems:
* CVE-2018-0488: Risk of remote code execution when truncated HMAC is enabled
* CVE-2018-0487: Risk of remote code execution when verifying RSASSA-PSS signatures

This release is also ABI incompatible with the previous one, but it is
API compatible.

Some functions used by a lot of other software was renamed and the old
function names are provided as a static inline now, but they are only
active when deprecated functions are allowed, deactivate the removal of
deprecated functions for now.

Also increase the PKG_RELEASE version to force a rebuild and update of
packages depending on mbedtls to handle the changed ABI.

Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes the following security problems:
* CVE-2018-0488: Risk of remote code execution when truncated HMAC is enabled
* CVE-2018-0487: Risk of remote code execution when verifying RSASSA-PSS signatures

This release is also ABI incompatible with the previous one, but it is
API compatible.

Some functions used by a lot of other software was renamed and the old
function names are provided as a static inline now, but they are only
active when deprecated functions are allowed, deactivate the removal of
deprecated functions for now.

Also increase the PKG_RELEASE version to force a rebuild and update of
packages depending on mbedtls to handle the changed ABI.

Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>usbutils: Update usb.ids file to latest</title>
<updated>2017-12-13T15:54:29+00:00</updated>
<author>
<name>Rosen Penev</name>
<email>rosenp@gmail.com</email>
</author>
<published>2017-11-22T05:57:52+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=e719a08cc1990d033b56b850616313d3764810ba'/>
<id>e719a08cc1990d033b56b850616313d3764810ba</id>
<content type='text'>
Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
(cherry picked from commit fc4e7bdca75f4d283374d3dfe0d0ac1cd4885612)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
(cherry picked from commit fc4e7bdca75f4d283374d3dfe0d0ac1cd4885612)
</pre>
</div>
</content>
</entry>
<entry>
<title>packages: nvram: fix memory leak in _nvram_free</title>
<updated>2017-12-13T15:51:59+00:00</updated>
<author>
<name>Zhai Zhaoxuan</name>
<email>zhaizhaoxuan@xiaomi.com</email>
</author>
<published>2017-07-11T10:12:00+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=06258144266a5adb44d2ef072c2a7c051584a24d'/>
<id>06258144266a5adb44d2ef072c2a7c051584a24d</id>
<content type='text'>
The value of nvram_tuple_t is allocated in _nvram_realloc,
but it is not freed in _nvram_free.

Signed-off-by: Zhai Zhaoxuan &lt;zhaizhaoxuan@xiaomi.com&gt;
(cherry picked from commit c382237ac33a787043b22abc42f0c5a80278baae)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The value of nvram_tuple_t is allocated in _nvram_realloc,
but it is not freed in _nvram_free.

Signed-off-by: Zhai Zhaoxuan &lt;zhaizhaoxuan@xiaomi.com&gt;
(cherry picked from commit c382237ac33a787043b22abc42f0c5a80278baae)
</pre>
</div>
</content>
</entry>
<entry>
<title>usbutils: avoid duplicating the git revision</title>
<updated>2017-12-13T15:34:10+00:00</updated>
<author>
<name>Philip Prindeville</name>
<email>philipp@redfish-solutions.com</email>
</author>
<published>2017-09-19T20:47:54+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=eff1f7e7efdebdbb4b102a51e8e78bde1666533c'/>
<id>eff1f7e7efdebdbb4b102a51e8e78bde1666533c</id>
<content type='text'>
Signed-off-by: Philip Prindeville &lt;philipp@redfish-solutions.com&gt;
(cherry picked from commit 3008fc9a7bbdcbb2563c99178ce8085396dd41e6)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Philip Prindeville &lt;philipp@redfish-solutions.com&gt;
(cherry picked from commit 3008fc9a7bbdcbb2563c99178ce8085396dd41e6)
</pre>
</div>
</content>
</entry>
<entry>
<title>nvram: add help message for nvram magic not found</title>
<updated>2017-12-13T15:23:40+00:00</updated>
<author>
<name>BangLang Huang</name>
<email>banglang.huang@foxmail.com</email>
</author>
<published>2017-02-24T02:58:09+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=2b8830933512e6c9e0c866c5f8977f74acfecf89'/>
<id>2b8830933512e6c9e0c866c5f8977f74acfecf89</id>
<content type='text'>
The program would failed if nvram magic not found
in specific partition.

Signed-off-by: BangLang Huang &lt;banglang.huang@foxmail.com&gt;
(cherry picked from commit 69da83d9f12e4e48b546fc3fc3ff555034959211)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The program would failed if nvram magic not found
in specific partition.

Signed-off-by: BangLang Huang &lt;banglang.huang@foxmail.com&gt;
(cherry picked from commit 69da83d9f12e4e48b546fc3fc3ff555034959211)
</pre>
</div>
</content>
</entry>
<entry>
<title>nvram: improve argument check when program start</title>
<updated>2017-12-13T15:23:39+00:00</updated>
<author>
<name>BangLang Huang</name>
<email>banglang.huang@foxmail.com</email>
</author>
<published>2017-02-24T02:52:52+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=118a2ea0bcdfb3895dfdec9fe4b98be5325d6386'/>
<id>118a2ea0bcdfb3895dfdec9fe4b98be5325d6386</id>
<content type='text'>
print help message when argument count is less
than 2.

Signed-off-by: BangLang Huang &lt;banglang.huang@foxmail.com&gt;
(cherry picked from commit c7e2a6fe923dc86bab14d94ead322a045efca4c9)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
print help message when argument count is less
than 2.

Signed-off-by: BangLang Huang &lt;banglang.huang@foxmail.com&gt;
(cherry picked from commit c7e2a6fe923dc86bab14d94ead322a045efca4c9)
</pre>
</div>
</content>
</entry>
<entry>
<title>nvram: add usage() function</title>
<updated>2017-12-13T15:23:39+00:00</updated>
<author>
<name>BangLang Huang</name>
<email>banglang.huang@foxmail.com</email>
</author>
<published>2017-02-24T02:45:16+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=c446ee4ad42731ef99cbefee7dcc2bcab1c26566'/>
<id>c446ee4ad42731ef99cbefee7dcc2bcab1c26566</id>
<content type='text'>
Merge the help message into a single function,
so that we can use it somewhere else.

Signed-off-by: BangLang Huang &lt;banglang.huang@foxmail.com&gt;
(cherry picked from commit 2a253e7cdbacd1bd19da80ea6f35a93b42655c3b)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Merge the help message into a single function,
so that we can use it somewhere else.

Signed-off-by: BangLang Huang &lt;banglang.huang@foxmail.com&gt;
(cherry picked from commit 2a253e7cdbacd1bd19da80ea6f35a93b42655c3b)
</pre>
</div>
</content>
</entry>
<entry>
<title>nvram: fix memory leak</title>
<updated>2017-12-13T15:23:39+00:00</updated>
<author>
<name>BangLang Huang</name>
<email>banglang.huang@foxmail.com</email>
</author>
<published>2017-02-24T02:16:17+00:00</published>
<link rel='alternate' type='text/html' href='http://www.chd.sx/cgit/mtk-20170518/commit/?id=9e84d333b19abdfe5effd276421217a64dd98078'/>
<id>9e84d333b19abdfe5effd276421217a64dd98078</id>
<content type='text'>
Fix memory leak on nvram_open() and nvram_open_rdonly().

For nvram_open(), the 'fd' should be closed on error, and
mmap_area should be unmap when nvram magic can not be found.

For nvram_open_rdonly(), the 'file' variable should free before
return. Once nvram_find_mtd() return successfully, it will allocate
memory to save mtd device string.

Signed-off-by: BangLang Huang &lt;banglang.huang@foxmail.com&gt;
(cherry picked from commit 1948d8e08c72106a01b359a30217cf92657cc79d)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix memory leak on nvram_open() and nvram_open_rdonly().

For nvram_open(), the 'fd' should be closed on error, and
mmap_area should be unmap when nvram magic can not be found.

For nvram_open_rdonly(), the 'file' variable should free before
return. Once nvram_find_mtd() return successfully, it will allocate
memory to save mtd device string.

Signed-off-by: BangLang Huang &lt;banglang.huang@foxmail.com&gt;
(cherry picked from commit 1948d8e08c72106a01b359a30217cf92657cc79d)
</pre>
</div>
</content>
</entry>
</feed>
