Commit graph

94 commits

Author SHA1 Message Date
oy 0c2b1d4ab4 removed some unused stuff 2015-08-30 16:45:59 +02:00
oy 5b5a5875b8 made utf8 decoding check for valid continuation bytes. Closes #1373 2015-08-30 08:38:25 +02:00
oy 51c44953ca check for valid codevalue range on utf8 decoding 2015-08-30 08:37:58 +02:00
oy d4c00097a5 separated connless packet handling and use random port for client's server connection 2015-08-30 08:22:04 +02:00
oy 135640ac9b fixed compiling on mac osx. Closes #1334 2015-03-31 16:00:25 +02:00
oy cdcc641af3 made day/night detection more accurate and did some cleanup. Closes #1304 2015-03-22 13:44:19 +01:00
oy 2fdd97df06 fixed some comments 2015-03-04 11:26:39 +01:00
heinrich5991 e872d7599e str_check_pathname: Only check for "..", "." is not dangerous 2015-03-04 11:20:50 +01:00
heinrich5991 1af9980b03 str_check_pathname: Also fail if the forbidden sequence is at the end 2015-03-04 11:20:49 +01:00
heinrich5991 d335694931 Make clearer comments on why the current path checking suffices
Also fix that it `str_check_pathname` counted dots even if they were after a
non-dot character.
2015-03-04 11:20:48 +01:00
oy 6506cf4ddf fixed last commit, generalized config saving and path check 2015-02-18 14:04:26 +01:00
Rudi c77518d2e1 Introduced str_safe_as_pathname that just checks string before using them as path to save to, returns error otherwise. Check is performed before saving server conf, recordings and ban list. 2015-02-18 13:21:55 +01:00
Rudi b3321e506c Sanitizing the path to which we save server configurations, and also demo files 2015-02-18 13:21:54 +01:00
heinrich5991 b9c4086382 Fix indentation and formatting of str_clean_whitespaces 2014-02-28 23:14:18 +01:00
oy 191feb618f fixed compiler warnings 2014-02-27 19:52:41 +01:00
oy 030443e55a Merge pull request #1138 from KillaBilla/servernamecleanup
Remove consecutive spaces in servername
2014-02-27 19:14:40 +01:00
oy 2c73819a15 Merge pull request #1121 from east/ipv6_fix
IPV6 fix
2013-11-25 11:27:33 -08:00
oy d2379124d5 improved chat msg spam protection 2013-11-25 20:06:19 +01:00
KillaBilla c818afd1ea changed str_clean_whitespace implementation to pkoerner's one 2013-09-08 13:11:43 +02:00
KillaBilla a9cc1e8de2 remove leading and trailing space from server name and forbit the use of multiple spaces 2013-09-04 16:47:24 +02:00
east 1bd3d9e584 net_addr_from_str() fix 2013-08-05 09:39:43 +02:00
Magnus Auvinen 8ed246fa1c fixed all the errors that the clang static analayzer found 2012-08-17 18:32:56 +02:00
oy 7d8e76ecaf fixed semaphore behavior on windows. Closes #926. Closes #934. 2012-07-21 18:53:09 +02:00
oy 3a0b017619 fixed try_lock on windows 2012-07-19 10:01:57 +02:00
SushiTee da90a1a4bc sorting filenames case insensitive (at least ANSI strings) 2012-06-13 17:07:27 +02:00
oy c16c4ee4d9 fixed semaphore on macosx 2012-06-10 12:14:41 +02:00
oy c2e5771a15 improved map download. Closes #712 2012-03-04 12:46:32 +01:00
oy f4f425b230 fixed compiling with gcc on windows 2012-01-04 01:10:56 +01:00
oy 7328098f8d Merge pull request #912 from matricks/threadedflip
Threadedflip
2012-01-03 15:40:30 -08:00
Magnus Auvinen e59b24d8db fixed atomics and semaphore for windows. can't test it correctly however due to that I only have a virtual box machine 2012-01-01 15:56:28 +01:00
oy b44ee3d975 reworked ban system 2011-12-29 23:36:53 +01:00
oy 4f0ee26fcf removed some unused code 2011-12-29 12:37:28 +01:00
oy 9221f3dda2 added missing close for a file search handle 2011-12-04 17:21:34 +01:00
oy c3a91f19b3 fixed debug message, c&p... 2011-12-04 17:12:44 +01:00
oy c057f96540 fixed error message for socket creation on windows 2011-12-04 17:09:30 +01:00
Ian Wilson 5dd2d189ad Fixes for compiling with Solaris kernel.
Fixed typo in CONF_PLATFORM_SOLARIS. Made sure that we don't try to use
the gcc endianness for Solaris. Included sys/filio.h for Solaris so that
FIONBIO is defined. Added linking flags -lsocket and -lnsl for Solaris
in bam.
2011-09-12 00:16:31 +02:00
Shereef Marzouk c6fd4a2cc5 General whitespace and tab cleanup 2011-08-11 10:59:14 +02:00
oy a0a62bcd70 fixed econ feature and tcp 2011-07-30 13:40:01 +02:00
oy 83d8422c4c added "fixed tcp and added ipv6 tcp support" by SushiTee 2011-07-06 18:20:46 +02:00
oy 601509fe8a fixed compiler error on older windows sdk's. Closes #627 2011-06-18 17:27:14 +02:00
oy e1ef01f656 made tab completion for names in chat start with the ones that match on the beginning 2011-06-09 23:28:20 +02:00
oy 5fbf6d0bfd fixed compiler warnings. Closes #679 2011-05-05 01:43:27 +02:00
heinrich5991 0ea5641df4 adding thread_detach to system.h and system.c 2011-05-01 15:48:09 +02:00
heinrich5991 e50e103529 made net_addr_str give a string without port if it is = 0 2011-04-22 19:52:27 +02:00
oy 06115dd49d added "Whitespace and line Endings cleanup" by GreYFoX 2011-04-13 20:37:12 +02:00
Sworddragon 0efa2634f7 Fixed some compiler warnings 2011-04-03 22:35:11 +02:00
oy 59d56cd332 finished IPv6 support (master servers aren't compatible with 0.5 and older). Closes #233 2011-03-30 12:08:33 +02:00
oy 9d930e15f8 fixed some compiler warnings 2011-03-28 22:08:52 +02:00
oy 34a9ca20a7 added ipv6 support from the old lua branch 2011-03-28 20:11:28 +02:00
oy 50b266086b made dbg_dumpmem and dbg_lognetwork work again 2011-03-05 11:46:24 +01:00