Commit Graph

  • 3b99834e00 Partially revert r456. Kevin Easton 2013-11-13 09:57:15 +00:00
  • 582d720ea4 Convert sprintf calls to snprintf. From pvaldes. Tim Cava 2013-11-11 21:29:21 +00:00
  • 496d3dc8ff Convert sprintf calls to snprintf. From pvaldes. Tim Cava 2013-11-11 21:29:16 +00:00
  • f69404b0f9 Convert sprintf calls to snprintf. From pvaldes. Tim Cava 2013-11-11 21:29:11 +00:00
  • 4f5aab355b Convert sprintf calls to snprintf. From pvaldes. Tim Cava 2013-11-11 21:29:05 +00:00
  • 317b84ee9d Convert sprintf calls to snprintf. From pvaldes. Tim Cava 2013-11-11 21:29:00 +00:00
  • c9d059cee6 Convert sprintf calls to snprintf. From pvaldes. Tim Cava 2013-11-11 21:28:55 +00:00
  • 1bafc85e23 Convert sprintf calls to snprintf. From pvaldes. Tim Cava 2013-11-11 21:28:48 +00:00
  • dd88392b15 Convert sprintf calls to snprintf. From pvaldes. Tim Cava 2013-11-11 21:28:38 +00:00
  • 3287f7775b Convert sprintf calls to snprintf. From pvaldes. Tim Cava 2013-11-11 21:28:31 +00:00
  • 2677dc4c60 Convert sprintf calls to snprintf. From pvaldes. Tim Cava 2013-11-11 21:28:26 +00:00
  • bfc147418a Convert sprintf calls to snprintf. From pvaldes. Tim Cava 2013-11-11 21:28:19 +00:00
  • 9d7c4f93d0 Convert sprintf calls to snprintf. From pvaldes. Tim Cava 2013-11-11 21:28:10 +00:00
  • c7e6e5ea08 Convert sprintf calls to snprintf. From pvaldes. Tim Cava 2013-11-11 21:28:03 +00:00
  • c1530e9406 Convert sprintf calls to snprintf. From pvaldes. Tim Cava 2013-11-11 21:24:14 +00:00
  • 78265498b1 Convert sprintf calls to snprintf. From pvaldes. Tim Cava 2013-11-11 21:23:51 +00:00
  • 224143f653 Convert sprintf calls to snprintf. From pvaldes. Tim Cava 2013-11-11 21:23:25 +00:00
  • db8c5cdc4f Convert sprintf calls to snprintf. From pvaldes. Tim Cava 2013-11-11 21:22:00 +00:00
  • 6fed90327c Convert sprintf calls to snprintf. From pvaldes. Tim Cava 2013-11-11 21:20:39 +00:00
  • d9a81a2841 who.c: Apply patch from tau replacing sprintf() with snprintf(). Kevin Easton 2013-11-11 13:48:32 +00:00
  • 220225f4ff whowas.c: Apply patch from tau replacing sprintf() with snprintf(). Kevin Easton 2013-11-11 13:37:14 +00:00
  • f222b94d13 window.c: Apply patch from tau replacing sprintf() with snprintf(). Kevin Easton 2013-11-11 13:24:38 +00:00
  • f086f264bb wserv.c: Apply patch from tau converting sprintf() to snprintf(). Kevin Easton 2013-11-11 13:23:11 +00:00
  • 03761ec715 Respin configure and defs.h.in for new configure.in, and update ircterm.h to match. Kevin Easton 2013-11-10 12:00:08 +00:00
  • f2aa46e252 Add check for ncurses/ncurses.h to configure. This is where Cygwin installs ncurses. Kevin Easton 2013-11-10 11:57:45 +00:00
  • ecabc12b3d Add helper macros to always call tparm() with 10 arguments. Kevin Easton 2013-11-10 06:27:03 +00:00
  • 0fe37326a3 Rebuild configure and defs.h.in from new configure.in, and update code to match. Kevin Easton 2013-11-10 05:38:06 +00:00
  • 73c9947324 Rewrite the termcap/terminfo detection logic in configure. Kevin Easton 2013-11-10 04:50:52 +00:00
  • 96f1d64aa0 Change ircterm.h header include guard so that it doesn't clash with the system term.h. Kevin Easton 2013-11-09 11:04:30 +00:00
  • 112b38ac7a Revert the last commit. It accidentally had autogenerated files in it. Tim Cava 2013-11-07 03:00:24 +00:00
  • 276fd24258 Use snprintf rather than sprintf. From pvaldes. Tim Cava 2013-11-07 02:41:16 +00:00
  • 590ae4c685 Further cleanups in dcc.c, removing unused variables and reworking dcc_exempt_save(). Kevin Easton 2013-11-06 10:35:16 +00:00
  • 15894eb006 Some simplification / cleanup in dcc_glist(). Kevin Easton 2013-11-05 13:07:06 +00:00
  • 456a0061f0 Fix output when client is built against termcap. Kevin Easton 2013-11-01 13:06:02 +00:00
  • 8e8a4022f9 Cleanup check_serverlag(), with suggestions from caf. Tim Cava 2013-11-01 11:32:57 +00:00
  • 25dcf0709b Don't crash if the user gives a bogus status format with too many elements. Kevin Easton 2013-10-30 13:09:03 +00:00
  • 02327eebae Fix STATUS_NOTIFY so that it appears in the right window. Kevin Easton 2013-10-29 13:25:10 +00:00
  • e9d180f526 Improve handling of padding in status formats. Kevin Easton 2013-10-29 13:14:19 +00:00
  • e281537918 logfile should be initialised from LOGFILE_VAR if that is set. Kevin Easton 2013-10-27 15:08:23 +00:00
  • 6094d62550 Cleanup window_help(). Use strlcat rather than strmcat. Tim Cava 2013-10-26 16:43:49 +00:00
  • 37f59831a2 Refactor window_log(). Use strlcat rather than strmcat. Rename a variable and remove a buffer on the stack. Tim Cava 2013-10-26 15:30:09 +00:00
  • 9a5f10b8c5 Oops. nick must be initialized before old_uh, since it's passed to fetch_userhost(). Tim Cava 2013-10-26 15:16:36 +00:00
  • 0cf0cf1ec4 Cleanup userhostbase. Use strlcat rather than strmcat. Rename some variables. Tim Cava 2013-10-26 15:03:12 +00:00
  • 9d562a6225 Cleanup convert_flags() a little bit. Tim Cava 2013-10-26 13:12:08 +00:00
  • a0faae3e62 Cleanup convert_flags_to_str() a little bit. Use strlcat rather than strmcat. Tim Cava 2013-10-26 13:09:29 +00:00
  • 41dcaad142 Cleanup check_on_hook(). Use strlcat rather than strmcat. Don't initialize variables unless necessary. Tim Cava 2013-10-26 02:54:04 +00:00
  • 1d1cd09ee3 Cleanup status_notify_windows() a little bit. Use strlcat rather than strmcat. Tim Cava 2013-10-26 02:43:57 +00:00
  • e9ef2d4e55 Use strlcat, rather than strmcat, in make_status(). Remove a block of unused ifdefed out code. Tim Cava 2013-10-26 02:34:25 +00:00
  • fdb83238de Cleanup stat_convert_format() a little bit. Use strlcat rather than strmcat. Tim Cava 2013-10-26 02:28:13 +00:00
  • 26e070565e Use strlcat, rather than strmcat, in fix_status_buffer(). Remove unused blocks of ifdeffed out code. Tim Cava 2013-10-26 02:20:19 +00:00
  • 95235006ab Cleanup convert_sub_format() a little bit. Use strlcat rather than strmcat. Remove a variable that had no affect. Tim Cava 2013-10-26 02:12:42 +00:00
  • a3ab6659fc Refactor vsend_to_server() with help from caf. Tim Cava 2013-10-26 00:49:30 +00:00
  • eebdc6fb96 Cleanup set_operview_flags(). Rename old to old_flags to use the same variable name across functions. Use strlcat rather than strmcat. Tim Cava 2013-10-23 17:51:09 +00:00
  • b978b76bb7 Cleanup s_watch(). Tim Cava 2013-10-23 17:44:20 +00:00
  • 07cdd587b4 Cleanup ircop_flags_to_str. Make the bufsize IRCD_BUFFER_SIZE instead of BIG_BUFFER_SIZE. Even with many flags enabled the output string shouldn't be larger than 512 bytes. Use strlcat rather than strmcat. Tim Cava 2013-10-23 17:33:50 +00:00
  • 809dc2f727 Cleanup create_channel_list a little bit. Use strlcat rather than strmcat. Tim Cava 2013-10-23 15:49:02 +00:00
  • b12e865b9b Cleanup bits_to_lastlog_level a little bit. Use strlcat rather than strmcat. Tim Cava 2013-10-23 14:48:45 +00:00
  • 95a7534c8c Use strlcat, rather than strmcat, in BX_path_search. Tim Cava 2013-10-23 14:35:37 +00:00
  • 57020a48e7 Use strlcat, rather than strmcat, in get_userhost(). Tim Cava 2013-10-20 18:40:18 +00:00
  • 22a4c1d9fb Use strlcat, rather than strmcat, in tab_completion(). Tim Cava 2013-10-20 18:38:44 +00:00
  • bfb9dc3d54 Use strlcat, rather than strmcat, in the definition of HANDLE_TYPE(). Tim Cava 2013-10-20 18:32:07 +00:00
  • faa052b597 Use strlcat, rather than strmcat, in ignore_list(). Tim Cava 2013-10-20 18:20:05 +00:00
  • 559dfdd278 Use strlcat, rather than strmcat, in fill_it_out(). Tim Cava 2013-10-19 20:52:37 +00:00
  • 12d3fadfb1 Use strlcat, rather than strmcat, in expand_twiddle(). Tim Cava 2013-10-19 20:10:19 +00:00
  • c9260b61d3 Fix typo reported by nesta. Kevin Easton 2013-10-16 22:27:23 +00:00
  • 933478d7b1 Rename cavlink's randm() function to cav_randm() so that it doesn't clash with the definition from ircaux.h. Kevin Easton 2013-10-16 11:59:36 +00:00
  • a5bfc81b04 Fix typo bufer -> buffer. Kevin Easton 2013-10-16 11:58:14 +00:00
  • 751c53678d Use sizeof instead of size constant when passing buffers to getcwd(). Kevin Easton 2013-10-14 14:13:42 +00:00
  • 69109d9045 Ensure that crypt_msg always leaves space for the trailing CTCP delimiter. Kevin Easton 2013-10-14 14:10:26 +00:00
  • 86d47f06ce Fix behaviour of /XDEBUG with no arguments (based on EPIC). Kevin Easton 2013-10-14 14:02:09 +00:00
  • f5ef9ae80d Use strlcat, rather than strmcat, in function_ftime(). Tim Cava 2013-10-13 20:28:11 +00:00
  • 501d960800 Use strlcat, rather than strmcat, in function_fsize(). Tim Cava 2013-10-13 20:26:23 +00:00
  • a8db6437aa Use strlcat, rather than strmcat, in function_fexist(). Tim Cava 2013-10-13 20:24:12 +00:00
  • 4f529d214f Cleanup crypt_msg(). Use strlcat rather than sprintf and strmcat. Tim Cava 2013-10-13 20:20:52 +00:00
  • e4e2c11429 Use strlcat, rather than strmcat, in xdebugcmd(). Tim Cava 2013-10-13 19:33:48 +00:00
  • 9df878c536 Use strlcat, rather than strmcat, in do_clientinfo(). Tim Cava 2013-10-13 19:21:29 +00:00
  • 9bc7e5c835 Cleanup help() a little bit. Use strlcat rather than strmcat. Tim Cava 2013-10-13 18:56:37 +00:00
  • 50d29b1f29 Use strlcat, rather than strmcat, in command_completion(). Pass sizeof buffer, rather than a constant, to snprintf and strlcat. Tim Cava 2013-10-13 18:48:42 +00:00
  • 44874b28b3 Cleanup l_help() a little bit. Use strlcat and strlcpy rather than strmcat and sprintf. Tim Cava 2013-10-13 18:33:23 +00:00
  • 3de05c07c1 Only build and use the compat.c bsd_setenv/bsd_putenv/bsd_unsetenv on systems that don't provide the POSIX setenv(). Kevin Easton 2013-10-09 21:40:55 +00:00
  • 040c6abbe4 Add configure check for setenv() Kevin Easton 2013-10-09 20:08:17 +00:00
  • 8c618b82fc Fix some longstanding build problems with !WANT_CDCC. Kevin Easton 2013-10-06 13:20:46 +00:00
  • 742887059d arcfour: Zero the full size of the 'in' array. Kevin Easton 2013-10-06 13:18:22 +00:00
  • 536aea4704 Use strlcpy, rather than strmcpy, in function_prefix. From caf. Tim Cava 2013-10-02 00:02:54 +00:00
  • 717d2e88b7 Fix incorrect truncation in cluster() caused by strlcpy(). Kevin Easton 2013-09-28 14:26:57 +00:00
  • d7bdc25960 Use memcpy() instead of strlcpy() in two places where the source length is known and the destination length is known to be sufficient. Kevin Easton 2013-09-28 14:01:23 +00:00
  • 07c6a61fed Use strlcpy, rather than strmcpy, in extract(). Tim Cava 2013-09-21 05:12:43 +00:00
  • d01233f559 Use strlcpy, rather than strmcpy, in extract2(). Tim Cava 2013-09-21 05:11:07 +00:00
  • 21612025eb Use strlcpy and strlcat, rather than strmcpy and strmcat, in decrypt_msg(). Tim Cava 2013-09-18 23:41:46 +00:00
  • ea5aa01f87 Use strlcpy, rather than strmcpy, in cluster(). Tim Cava 2013-09-18 23:28:07 +00:00
  • 6afd2d4a87 Use strlcpy, rather than strmcpy, in Tcl_GetKeyedListField(). Tim Cava 2013-09-18 23:17:23 +00:00
  • c907a548e0 Use strlcpy, rather than strmcpy, in Tcl_GetKeyedListKeys(). Tim Cava 2013-09-18 23:16:12 +00:00
  • 4de9626a99 Use strlcpy, rather than strmcpy, in set_input_heb(). Tim Cava 2013-08-26 08:06:36 +00:00
  • fafd888528 Cleanup rename_file() a little bit. Use strlcpy, rather than strmcpy. Tim Cava 2013-08-26 08:04:21 +00:00
  • c13b00be0c Use strlcpy, rather than strmcpy, in set_input(). Tim Cava 2013-08-23 05:37:03 +00:00
  • 4ba3f45a89 Cleanup check_mode_lock() a little bit. Use strlcat, rather than strcat. Prefer m_strdup over malloc_strcpy. Tim Cava 2013-08-23 04:49:54 +00:00
  • 56f5eceb26 Don't compare an array (cx_function) against NULL. Don't bother checking whether a context is empty, since the result is the same. Tim Cava 2013-08-23 02:55:27 +00:00
  • ceada1fac4 Use strlcpy, rather than strmcpy, in split_CTCP(). Tim Cava 2013-08-21 05:57:50 +00:00
  • 1524033b3f Use strlcpy and strlcat, rather than strmcpy, strmcat, and strcpy, in do_notice_ctcp(). Tim Cava 2013-08-21 05:53:18 +00:00
  • 3808071ba6 Use strlcpy and strlcat, rather than strmcpy, strmcat, and strcpy, in do_ctcp(). Tim Cava 2013-08-21 05:46:02 +00:00