<feed xmlns='http://www.w3.org/2005/Atom'>
<title>xine-lib/src/input/libreal, branch 1.1.18</title>
<subtitle>xine-lib git mirror
</subtitle>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/'/>
<entry>
<title>Trim trailing space &amp; reduce space+tab.</title>
<updated>2009-11-30T21:24:21+00:00</updated>
<author>
<name>Darren Salt</name>
<email>linux@youmustbejoking.demon.co.uk</email>
</author>
<published>2009-11-30T21:24:21+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=add0bcc4c9191cb8980d0b6935ca5d51a9928d82'/>
<id>add0bcc4c9191cb8980d0b6935ca5d51a9928d82</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add allocation checks to the Real MDPR parsing code (ref. CVE-2008-5240).</title>
<updated>2009-01-18T15:10:32+00:00</updated>
<author>
<name>Darren Salt</name>
<email>linux@youmustbejoking.demon.co.uk</email>
</author>
<published>2009-01-18T15:10:32+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=bc748211f20d01fc344b8e7c3a5cd158668fbc62'/>
<id>bc748211f20d01fc344b8e7c3a5cd158668fbc62</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove '#include "config.h"' from all public header files.</title>
<updated>2009-01-18T00:21:47+00:00</updated>
<author>
<name>Darren Salt</name>
<email>linux@youmustbejoking.demon.co.uk</email>
</author>
<published>2009-01-18T00:21:47+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=c8f8261d199af4956aeaf387b2fde41baf905f83'/>
<id>c8f8261d199af4956aeaf387b2fde41baf905f83</id>
<content type='text'>
This requires that many other files include config.h themselves.
Also convert &lt;config.h&gt; to "config.h".
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This requires that many other files include config.h themselves.
Also convert &lt;config.h&gt; to "config.h".
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid using strlen() in loops, calculate it beforehand.</title>
<updated>2008-07-08T13:36:07+00:00</updated>
<author>
<name>Diego 'Flameeyes' Pettenò</name>
<email>flameeyes@gmail.com</email>
</author>
<published>2008-07-08T13:36:07+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=0b504bf028bf83ffc1783ae321f089e7b8406c16'/>
<id>0b504bf028bf83ffc1783ae321f089e7b8406c16</id>
<content type='text'>
--HG--
extra : transplant_source : %80%12%03%93%EFL%FC%AF%A6%22Z%D0%95C%D5%29%AF%FB%95%B2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
--HG--
extra : transplant_source : %80%12%03%93%EFL%FC%AF%A6%22Z%D0%95C%D5%29%AF%FB%95%B2
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove MIN/MAX macro definitions on unit.</title>
<updated>2008-05-23T21:43:00+00:00</updated>
<author>
<name>Diego 'Flameeyes' Pettenò</name>
<email>flameeyes@gmail.com</email>
</author>
<published>2008-05-23T21:43:00+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=37f4983b76f90efb4e5715f3eca693daf668310a'/>
<id>37f4983b76f90efb4e5715f3eca693daf668310a</id>
<content type='text'>
Now that the macro are either imported from the system or defined by
configure. don't define them in every source file.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now that the macro are either imported from the system or defined by
configure. don't define them in every source file.
</pre>
</div>
</content>
</entry>
<entry>
<title>Mark initialisation functions with malloc attribute.</title>
<updated>2008-05-23T18:07:00+00:00</updated>
<author>
<name>Diego 'Flameeyes' Pettenò</name>
<email>flameeyes@gmail.com</email>
</author>
<published>2008-05-23T18:07:00+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=08c066cac2efdfcf569e47609e9e1b0a947ce129'/>
<id>08c066cac2efdfcf569e47609e9e1b0a947ce129</id>
<content type='text'>
All the initialisation functions returning a new object instance that
was allocated through malloc() or calloc() can get the malloc
attribute so that the compiler can optimise their call.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
All the initialisation functions returning a new object instance that
was allocated through malloc() or calloc() can get the malloc
attribute so that the compiler can optimise their call.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use size_t to keep the value returned by strlen().</title>
<updated>2008-05-09T19:54:58+00:00</updated>
<author>
<name>Diego 'Flameeyes' Pettenò</name>
<email>flameeyes@gmail.com</email>
</author>
<published>2008-05-09T19:54:58+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=16a41a85516f6055918887938e9dd3f3f9fbcf28'/>
<id>16a41a85516f6055918887938e9dd3f3f9fbcf28</id>
<content type='text'>
When using a variable to store the result of strlen(), make sure its
type is size_t just like the function returns, rather than using a
smaller type like int.

--HG--
extra : transplant_source : %B0%D5%3B%D7%1Dy%0A%7E%7D%7C%023%08%B2%CE%D3t%0B3%D7
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When using a variable to store the result of strlen(), make sure its
type is size_t just like the function returns, rather than using a
smaller type like int.

--HG--
extra : transplant_source : %B0%D5%3B%D7%1Dy%0A%7E%7D%7C%023%08%B2%CE%D3t%0B3%D7
</pre>
</div>
</content>
</entry>
<entry>
<title>Use size_t rather than int to store the return value of strlen().</title>
<updated>2008-05-09T16:17:44+00:00</updated>
<author>
<name>Diego 'Flameeyes' Pettenò</name>
<email>flameeyes@gmail.com</email>
</author>
<published>2008-05-09T16:17:44+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=4384f0b14a658b4179cedf77c2d6c2718610017b'/>
<id>4384f0b14a658b4179cedf77c2d6c2718610017b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>xine_xmalloc() deprecation: replace its use with static and non-zero size.</title>
<updated>2008-05-07T14:59:00+00:00</updated>
<author>
<name>Diego 'Flameeyes' Pettenò</name>
<email>flameeyes@gmail.com</email>
</author>
<published>2008-05-07T14:59:00+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=88d23a2dbabf419ab4014b449be119a741aa54f5'/>
<id>88d23a2dbabf419ab4014b449be119a741aa54f5</id>
<content type='text'>
The xine_xmalloc() function is going to be deprecated, as its
behaviour is rarely needed as such, and it's thus misused.

With this, almost all uses of xine_xmalloc() with static size (for
instance the value returned by sizeof()) or with a size that is
guaranteed not to be zero (like strlen()+1) are replaced with calls to
either calloc(1, ...) or malloc().

malloc() is used whenever the allocated memory is going to be
immediately overwritten, while calloc() is used in every other case,
as it sets the whole memory area to zero.

--HG--
extra : transplant_source : %8F%98%EC%02%1E%83%F0s%06X%83C%205Y%80%B12%CC%E1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The xine_xmalloc() function is going to be deprecated, as its
behaviour is rarely needed as such, and it's thus misused.

With this, almost all uses of xine_xmalloc() with static size (for
instance the value returned by sizeof()) or with a size that is
guaranteed not to be zero (like strlen()+1) are replaced with calls to
either calloc(1, ...) or malloc().

malloc() is used whenever the allocated memory is going to be
immediately overwritten, while calloc() is used in every other case,
as it sets the whole memory area to zero.

--HG--
extra : transplant_source : %8F%98%EC%02%1E%83%F0s%06X%83C%205Y%80%B12%CC%E1
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace calloc (n, sizeof (char)) with malloc (n) where zero init isn't needed.</title>
<updated>2008-04-30T00:12:20+00:00</updated>
<author>
<name>Darren Salt</name>
<email>linux@youmustbejoking.demon.co.uk</email>
</author>
<published>2008-04-30T00:12:20+00:00</published>
<link rel='alternate' type='text/html' href='https://vdr-projects.e-tobi.net/git/xine-lib/commit/?id=bdcbdde85d5ae6e8f415442d5c28251a4aad8088'/>
<id>bdcbdde85d5ae6e8f415442d5c28251a4aad8088</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
