summaryrefslogtreecommitdiff
path: root/src/input/libreal/sdpplin.c
AgeCommit message (Collapse)Author
2009-11-30Trim trailing space & reduce space+tab.Darren Salt
2009-01-18Remove '#include "config.h"' from all public header files.Darren Salt
This requires that many other files include config.h themselves. Also convert <config.h> to "config.h".
2008-07-08Avoid using strlen() in loops, calculate it beforehand.Diego 'Flameeyes' Pettenò
--HG-- extra : transplant_source : %80%12%03%93%EFL%FC%AF%A6%22Z%D0%95C%D5%29%AF%FB%95%B2
2008-05-23Mark initialisation functions with malloc attribute.Diego 'Flameeyes' Pettenò
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.
2008-05-09Use size_t rather than int to store the return value of strlen().Diego 'Flameeyes' Pettenò
2008-05-07xine_xmalloc() deprecation: replace its use with static and non-zero size.Diego 'Flameeyes' Pettenò
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
2008-04-30Replace calloc (n, sizeof (char)) with malloc (n) where zero init isn't needed.Darren Salt
2008-03-11Fix Array Indexing Vulnerability in sdpplin_parse(). (CVE-2008-0073).Diego 'Flameeyes' Pettenò
Thanks to Alin Rad Pop, Secunia Research.
2008-03-11Use calloc() to avoid possible integer overflow if stream_count is big enough.Diego 'Flameeyes' Pettenò
--HG-- extra : transplant_source : %90%CC%97%8Fk%C1%FD%9C%A4%FB%0C%9E%07%F5A%B8%29o%EEo
2007-11-10Delete most of the CVS $Id$/$Log$ lines.Darren Salt
--HG-- extra : transplant_source : %E0%D0%C5%8B%BEU%DD%24%5D7%1F%ADV%AD%EB%23%CBU%80%EB
2007-11-09Update FSF address on non-contributed code and COPYING files.Diego 'Flameeyes' Pettenò
For contributed code, leave whatever the version we last synced for is using to make simpler future syncs.
2006-12-25 * Fix invalid memory access in Real Media SDP with tailored stream; reportedDiego 'Flameeyes' Pettenò
by Roland Kay. [bug #1602631] CVS patchset: 8442 CVS date: 2006/12/25 16:21:56
2006-12-25 * Fix program termination due to invalid Real Media SDP; reported by RolandDiego 'Flameeyes' Pettenò
Kay. [bug #1602663] CVS patchset: 8441 CVS date: 2006/12/25 16:12:16
2006-06-20Fix generic warnings.Diego 'Flameeyes' Pettenò
CVS patchset: 8064 CVS date: 2006/06/20 01:07:58
2004-04-23some sanity and bounds checking (my own audit)Miguel Freitas
lets hope i didn't broke anything CVS patchset: 6428 CVS date: 2004/04/23 21:59:04
2003-12-09update copyright year (and we have to do it again in 3 weeks... ;-) )Daniel Caujolle-Bert
CVS patchset: 5879 CVS date: 2003/12/09 00:02:28
2003-12-05cleanup phase II. use xprintf when it's relevant, use xine_xmalloc when it's ↵Daniel Caujolle-Bert
relevant too. Small other little fix (can't remember). Change few internal function prototype because it xine_t pointer need to be used if some xine's internal sections. NOTE: libdvd{nav,read} is still too noisy, i will take a look to made it quit, without invasive changes. To be continued... CVS patchset: 5844 CVS date: 2003/12/05 15:54:56
2003-11-26lprintf cleanup, pass I.Daniel Caujolle-Bert
CVS patchset: 5796 CVS date: 2003/11/26 19:43:26
2002-12-24a cleaner implementation of sdp/sdpplin added, small fixesStefan Holst
CVS patchset: 3663 CVS date: 2002/12/24 01:30:21