Age | Commit message (Collapse) | Author |
|
Also don't reset memory after it's allocated if we do that with
calloc.
|
|
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
|
|
1.2 series.
|
|
elements by the size of the single element.
(transplanted from 512894f517c423fed0cadeca0d46c6d909403106)
--HG--
extra : transplant_source : Q%28%94%F5%17%C4%23%FE%D0%CA%DE%CA%0DF%C6%D9%09%401%06
|
|
--HG--
extra : transplant_source : %E0%D0%C5%8B%BEU%DD%24%5D7%1F%ADV%AD%EB%23%CBU%80%EB
|
|
For contributed code, leave whatever the version we last synced for is using
to make simpler future syncs.
|
|
According to bug 1773769, this breaks foo->open().
The fix (as used in Ville Skyttä's patch, which doesn't cover all cases) is
to replace this with (foo->open)().
This patch was generated using
sed -i -re 's/(([[:alnum:]_]+(->|\.))+open) ?\(/(\1) (/' `grep '[>.]open \?(' include -rIl`
One change (in a comment) is not committed.
|
|
Solaris definitions.
|
|
(through backports), to avoid exporting unneeded internal symbols, making plugins' loading faster and use of internal copies of libraries more solid. It should automatically fall back to the old way in GCCs that does not support -fvisibility=hidden, but has to be tested carefully. No issues were found in the months of testing in Gentoo, but this requires special attention anyway.
CVS patchset: 8101
CVS date: 2006/07/10 22:08:12
|
|
CVS patchset: 8009
CVS date: 2006/06/02 22:18:56
|
|
(Diego Pettenò)
CVS patchset: 7985
CVS date: 2006/05/03 19:46:06
|
|
CID: 276
Checker: USE_AFTER_FREE (help)
File: xine-lib/src/libxinevdec/bitplane.c
Function: bitplane_decode_data
Description: Double free of pointer "(this)->buf" in call to "free"
CID: 171
Checker: RESOURCE_LEAK (help)
File: xine-lib/src/libxinevdec/bitplane.c
Function: bitplane_decode_byterun1
Description: Returned without freeing storage "uncompressed"
CID: 34
Checker: FORWARD_NULL (help)
File: xine-lib/src/libxinevdec/bitplane.c
Function: bitplane_sdelta_opt_3
Description: Variable "ptr" tracked as NULL was dereferenced.
CVS patchset: 7943
CVS date: 2006/03/21 07:39:18
|
|
(costly conversion is not necessary, because ASCII is a subset of UTF-8)
CVS patchset: 7264
CVS date: 2004/12/16 13:58:57
|
|
CVS patchset: 6902
CVS date: 2004/08/21 21:21:12
|
|
CVS patchset: 6227
CVS date: 2004/03/07 12:48:15
|
|
CVS patchset: 6210
CVS date: 2004/03/03 20:00:38
|
|
CVS patchset: 6196
CVS date: 2004/02/29 19:22:42
|
|
CVS patchset: 6188
CVS date: 2004/02/25 18:57:34
|
|
CVS patchset: 6184
CVS date: 2004/02/22 18:31:48
|
|
CVS patchset: 6183
CVS date: 2004/02/22 16:47:30
|
|
CVS patchset: 6182
CVS date: 2004/02/22 12:36:35
|
|
CVS patchset: 6125
CVS date: 2004/02/09 22:04:11
|
|
CVS patchset: 6108
CVS date: 2004/02/02 22:22:51
|