summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2004-07-25protect bufferMichael Roitzsch
CVS patchset: 6854 CVS date: 2004/07/25 17:47:01
2004-07-25strncpy will not necessarily terminate the stringMichael Roitzsch
CVS patchset: 6853 CVS date: 2004/07/25 17:45:22
2004-07-25protect buffer; a long configured codec path could have overflown itMichael Roitzsch
CVS patchset: 6852 CVS date: 2004/07/25 17:44:10
2004-07-25the worst case we will write to this buffer is largerMichael Roitzsch
CVS patchset: 6851 CVS date: 2004/07/25 17:42:55
2004-07-25protect some buffers that could overflowMichael Roitzsch
CVS patchset: 6850 CVS date: 2004/07/25 17:42:22
2004-07-25* increase buffer size, "Cseq: %u" has a worst case of 17Michael Roitzsch
* limit TCP port range CVS patchset: 6849 CVS date: 2004/07/25 17:13:54
2004-07-25protect some buffers to be on the safe side (some of them might be hardMichael Roitzsch
to overflow, but it could be possible) input_cdda contains the copy&paste bug of filling the buffer to its end and then appending yet another character CVS patchset: 6848 CVS date: 2004/07/25 17:11:59
2004-07-25a buffer of size 1024 can only be filled with 1023 charactersMichael Roitzsch
CVS patchset: 6847 CVS date: 2004/07/25 17:08:07
2004-07-25protect buffersMichael Roitzsch
CVS patchset: 6846 CVS date: 2004/07/25 17:06:29
2004-07-25do not fill up to the max when you intend to strcat() another character laterMichael Roitzsch
CVS patchset: 6845 CVS date: 2004/07/25 17:06:03
2004-07-25remove some finished tasks and add some new ones for post 1.0Michael Roitzsch
CVS patchset: 6844 CVS date: 2004/07/25 17:04:44
2004-07-24Don't use MAP_FIXED to place registers after video RAM.Robin KAY
CVS patchset: 6843 CVS date: 2004/07/24 17:26:02
2004-07-24When including AC_TRY_COMPILE in the ACTION-IF-NOT-FOUND section of another ↵Stephen Torri
AC_TRY_COMPILE ensure that second call is wrapped in brackets ([ ACE_TRY_COMPILE ...]). Apparently without them autoheader and automake get confused. Replaced the AC_LANG_CPLUSPLUS, AC_LANG_SAVE and AC_LANG_RESTORE with the recommended calls of AC_LANG_PUSH(C++) and AC_LANG_POP([C++]). Let me know if the last two things cause problems. I can revert this change. CVS patchset: 6842 CVS date: 2004/07/24 02:35:47
2004-07-23fix configfile def_value assertion.Daniel Caujolle-Bert
CVS patchset: 6841 CVS date: 2004/07/23 13:47:39
2004-07-23made io_helper.c compile under Solaris 2.6 (socklen_t undefine type) (close ↵Daniel Caujolle-Bert
#992824) CVS patchset: 6840 CVS date: 2004/07/23 12:42:14
2004-07-22protect from overly long filenamesMichael Roitzsch
CVS patchset: 6839 CVS date: 2004/07/22 14:29:28
2004-07-222 extra bytes is enough, one for the '/' and one for '\0'Michael Roitzsch
CVS patchset: 6838 CVS date: 2004/07/22 14:27:48
2004-07-22frontends could have crashed xine-lib by passing a too long filenameMichael Roitzsch
CVS patchset: 6837 CVS date: 2004/07/22 14:26:24
2004-07-22since we potentially add a '\n', we cannot fill the string to the limit earlierMichael Roitzsch
CVS patchset: 6836 CVS date: 2004/07/22 14:25:05
2004-07-22long paths to the vidix drivers would have overrun the path bufferMichael Roitzsch
CVS patchset: 6835 CVS date: 2004/07/22 14:23:42
2004-07-22* font name stored in an unprotected buffer, configuring a long font nameMichael Roitzsch
would have caused an overflow * using strncpy is good, but if the buffer is too short, it leaves the string unterminated; fixed CVS patchset: 6834 CVS date: 2004/07/22 14:21:31
2004-07-22* do not use strcpy with overlapping strings, the behaviour is undefinedMichael Roitzsch
* fixed lots of unprotected buffers, overlong subtitle lines would have caused overflows CVS patchset: 6833 CVS date: 2004/07/22 14:19:12
2004-07-22a broken CD might contain an unterminated label, which would have overrun theMichael Roitzsch
buffer; a label with '%' characters would have lead to a format string attack Rocky, can you merge this back to libcdio, please? CVS patchset: 6832 CVS date: 2004/07/22 14:15:19
2004-07-22do not use functions in array initialization, this is actually not allowed in CMichael Roitzsch
and some compilers do not grok it CVS patchset: 6831 CVS date: 2004/07/22 14:12:20
2004-07-22embarassing overflow in the hacker's guide example appMichael Roitzsch
CVS patchset: 6830 CVS date: 2004/07/22 14:02:49
2004-07-22remove some things which are doneMichael Roitzsch
CVS patchset: 6829 CVS date: 2004/07/22 14:00:58
2004-07-21new goom2k4-dev18 includes almost all of my warning fixesMichael Roitzsch
(the goom team is quite fast in applying my patches :) ) some files are still slightly patched from the release version, but I will get this sorted out so we will soon use a completely unmodified version of goom it compiles almost warningless now (the remaining warnings are introduced by lex/yacc and I plan to simply ignore them) the Makefile.am distclean-hack is also obsolete now, since the offending files have been renamed CVS patchset: 6828 CVS date: 2004/07/21 14:38:29
2004-07-212 bugs fixed actuallyMiguel Freitas
CVS patchset: 6827 CVS date: 2004/07/21 00:59:50
2004-07-20Use lavc version of the mpeg rff flag.Thibaut Mattern
CVS patchset: 6826 CVS date: 2004/07/20 21:38:34
2004-07-20fix compiler warningsMichael Roitzsch
CVS patchset: 6825 CVS date: 2004/07/20 16:39:37
2004-07-20small DXR3 code cleanup:Michael Roitzsch
* make some helper functions non-inline that Bastien had to move because of their inlining (I realized that some helpers are a bit too large for inlining, so they might worsen the I-cache usage.) * properly use logging macros in all DXR3 code * prepare SPU decoder for new (and hopefully correct) SPU forcing; this should fix some longstanding DXR3 SPU problems, but the code needs more testing so it is disabled for now CVS patchset: 6824 CVS date: 2004/07/20 16:37:44
2004-07-20removing unused structure memberMichael Roitzsch
CVS patchset: 6823 CVS date: 2004/07/20 16:21:26
2004-07-20some updatingMichael Roitzsch
CVS patchset: 6822 CVS date: 2004/07/20 16:20:52
2004-07-20Add const to get_identifier return type since that's n fact what itRocky Bernstein
is. Should protect against a plugin returning a malloc'd variable for example. CVS patchset: 6821 CVS date: 2004/07/20 00:50:10
2004-07-20More bounds-overflow precautions. Bound max length of a MRL and addRocky Bernstein
numeric width specifiers on numeric format. Thanks to Michael Roitzsch for catching the additional problem. CVS patchset: 6820 CVS date: 2004/07/20 00:31:37
2004-07-19*** empty log message ***Miguel Freitas
CVS patchset: 6819 CVS date: 2004/07/19 22:49:31
2004-07-19fix for brightness driftMiguel Freitas
https://sourceforge.net/tracker/?func=detail&atid=109655&aid=947520&group_id=9655 CVS patchset: 6818 CVS date: 2004/07/19 22:45:48
2004-07-19*** empty log message ***Miguel Freitas
CVS patchset: 6817 CVS date: 2004/07/19 22:12:17
2004-07-19restore initial xv port attributes on exitMiguel Freitas
CVS patchset: 6816 CVS date: 2004/07/19 22:07:41
2004-07-19merging some VDR patches from ReinhardMiguel Freitas
CVS patchset: 6815 CVS date: 2004/07/19 19:53:40
2004-07-19we don't do any bounds checking when converting the SPU to a xine overlay,Michael Roitzsch
therefore we tried to allocate for the worst case; unfortunately the worst case was wrong CVS patchset: 6814 CVS date: 2004/07/19 17:12:48
2004-07-18Pedantic change: that should be DEVICE_MAX_LEN, not MRL_MAX_LEN.Rocky Bernstein
CVS patchset: 6813 CVS date: 2004/07/18 21:42:26
2004-07-18Fix sample rate.James Courtier-Dutton
CVS patchset: 6812 CVS date: 2004/07/18 18:02:02
2004-07-18a sequence can be split.Thibaut Mattern
CVS patchset: 6811 CVS date: 2004/07/18 17:36:25
2004-07-18Add support for 44100Hz DTS in .wav files.James Courtier-Dutton
CVS patchset: 6810 CVS date: 2004/07/18 17:31:40
2004-07-18One more time.Thibaut Mattern
CVS patchset: 6809 CVS date: 2004/07/18 15:34:57
2004-07-18Argl, i always forget something. :<Thibaut Mattern
CVS patchset: 6808 CVS date: 2004/07/18 15:31:29
2004-07-18Should have Initialized all bytes.Rocky Bernstein
CVS patchset: 6807 CVS date: 2004/07/18 14:52:50
2004-07-18Buffer overflow fix reported by C0ntex via Drew 'dantealiegri' Ogle.Rocky Bernstein
CVS patchset: 6806 CVS date: 2004/07/18 14:46:59
2004-07-18better mpeg-es parser.Thibaut Mattern
Fix "hurry_up" behavior (keep the metronom happy). Enable DR1 for the mpeg12 decoder. Remove all the mpeg-es parsing from here, use the new parser instead. Handle frame format changes (width, height and aspect ratio) Tested with all my mpeg streams, and with some DVDs with still menus. Enjoy ;) CVS patchset: 6805 CVS date: 2004/07/18 00:50:02