Commit Graph

1871 Commits

Author SHA1 Message Date
joerg 782395a37e Really skip the current line only if the comment is at the start. 2012-02-03 04:28:55 +00:00
darrenr 9330b4a5e1 Compiler warning on a for loop that does not terminate correctly 2012-02-02 19:18:51 +00:00
martin 493d58c360 More printf format fixes 2012-01-31 08:57:36 +00:00
martin 6954772773 Fix printf formats (those who can't decide wether to use casts or PRI*
macros do both in bogus combination)
2012-01-31 08:43:44 +00:00
darrenr 60a7048ce5 Correct merge error from import. 2012-01-30 20:10:27 +00:00
darrenr 6e01b777b4 Merge error - stale code from HEAD not removed. 2012-01-30 20:08:31 +00:00
darrenr 3646154e14 Lost on import 2012-01-30 19:38:45 +00:00
darrenr 4e1b0345a9 Lost on import 2012-01-30 17:54:34 +00:00
darrenr 9598df00fd Update ftp-proxy for changes to ipnat_t 2012-01-30 16:14:27 +00:00
darrenr b01ead29e4 Merge IPFilter 5.1.1 into HEAD 2012-01-30 16:12:02 +00:00
darrenr 9c0e9659f2 Import IPFilter 5.1.1 2012-01-30 16:02:57 +00:00
christos 1ed18fbd3b PR/45881: Chavdar Ivanov: nvi copy command copies empty lines.
Move ENTIRE_LINE definition to common.h and have interested parties use it.
2012-01-27 16:41:22 +00:00
christos 236ed3e463 remove error(1) line. 2012-01-21 19:56:46 +00:00
christos ab450fcb83 make the previous patch compile. 2012-01-21 19:49:56 +00:00
christos e36a3ef194 PR/10367: Second part.
Restore lost fix:
http://mail-index.netbsd.org/source-changes/2001/09/09/0043.html

Fix a test condition for EOF.
2012-01-21 19:35:02 +00:00
christos 2a21cd4999 PR/10367:
Restore lost fix:
    http://mail-index.netbsd.org/source-changes/2001/09/09/0042.html

Define ENTIRE_LINE to be -1 instead of 0 since we may want to copy 0 characters.
(and use ENTIRE_LINE instead of 0 where appropriate)

This fixes a bug in the dw command with for example:

<cursor>
a b c

~
~
if you hit dw there, only the empty line would be killed but both the empty
line and the subsequent one would be pasted when asked for with P for example.
2012-01-21 19:32:37 +00:00
christos f5b6285b2a undo previous, it is wrong. 2012-01-21 19:29:41 +00:00
christos 9e2c491108 PR/10367: Mason Loring Bliss: fix delete word near end of file. Patch
from tnozaki.
2012-01-21 17:12:56 +00:00
drochner 8fd6dadaf8 include <netipsec/ipsec.h> rather than <netinet6/ipsec.h> from userland
where possible, for consistency and compatibility to FreeBSD
(exception: KAME specific statistics gathering in netstat(1) and systat(1))
2012-01-04 16:09:40 +00:00
wiz d62e358d67 Fix typo, from Abhinav Upadhyay. 2012-01-02 00:35:02 +00:00
tnozaki 10248e78d8 use ARG_CHAR_T instead of CHAR_T for integer promotion. 2011-11-23 19:25:27 +00:00
tnozaki 87c8bc2121 use e_key_t instead of u_int. 2011-11-23 19:18:53 +00:00
tnozaki 5a00661245 don't use WEOF directly, for --disable-widechar. 2011-11-23 15:43:39 +00:00
tnozaki 3392bf8c1a don't use L prefix directly, for --disable-widechar. 2011-11-23 14:14:43 +00:00
tnozaki b70d1274ae reliability fix, merge libc/regex fix to avoid memory exhaust problem. 2011-11-19 17:45:11 +00:00
tnozaki 0556aba958 use ARG_CHAR_T instead of CHAR_T for integer promotion. 2011-11-16 14:24:43 +00:00
tnozaki dcbcd554a0 nvi cannot display international character(west european accented chars).
reported by Ian D. Leroux at current-users, thanks a lot!
2011-11-14 13:29:07 +00:00
wiz f4eb12076c add dircategory/direntry for vi, so texinfo stops complaining 2011-11-13 19:53:53 +00:00
drochner 8e6899dea3 Don't allow '/' characters in the "service" argument to pam_start()
The "service" is blindly appended to config directories ("/etc/pam.d/"),
and if a user can control the "service" it can get PAM to read config
files from any location.
This is not a problem with most software because the "service" is
usually a constant string. The check protects 3rd party software
from being abused.
(CVE-2011-4122)
2011-11-09 20:26:41 +00:00
mbalmer 24e4901256 There is no doubt whether whether should have a 'h' after the 'w'. 2011-10-17 16:35:21 +00:00
apb 5f87cb97b1 If a module doesn't implement a primitive, don't just ignore it;
set r = PAM_SYSTEM_ERR and let later code check the flags
before deciding whether the error may be ignored.

Also count the number of successes, and if nothing is explicitly
successful then treat it as a failure.  This replaces the previous
check for chain == NULL.

Reviewed by christos, mrg
2011-10-08 20:40:06 +00:00
joerg 9184fcb3a1 Simplify. 2011-10-07 10:42:54 +00:00
jdc 72b200e799 Work around PR#43839, by calling resizeterm() on SIGWINCH. 2011-09-24 18:57:46 +00:00
he 65217c2910 Also eliminate now-no-longer-used local variable. 2011-09-22 16:08:49 +00:00
christos 3670fb8d46 Eliminate unchecked malloc (Maksymilian Arciemowicz) 2011-09-22 12:43:09 +00:00
christos 5b4a37ed53 check the result of malloc (Maksymilian Arciemowicz) 2011-09-22 12:38:33 +00:00
joerg 3c101252bb Use __dead 2011-09-16 16:13:41 +00:00
joerg 9eba1e423c Use __dead 2011-08-29 20:41:06 +00:00
joerg a631748810 Sprinkle NORETURN. 2011-08-29 13:51:38 +00:00
christos 1598a84d98 fix non-literal format string 2011-08-25 16:51:48 +00:00
christos 112264be37 fix raw string formats 2011-08-17 12:56:55 +00:00
christos 50b09be45a fix gcc-4.5 cast warning 2011-08-17 09:55:41 +00:00
christos b3d08e40dc Instead of printing the raw suspect value instead of the name (!?!?), print the
name and the suspect value vis encoded.
2011-08-17 08:06:38 +00:00
christos e2f91adb83 gcc-4.5 fixes 2011-08-16 16:36:38 +00:00
christos 4dff6c909f Fix CVS-2011-2748, malformed packets can cause server to crash causing a DoS. 2011-08-15 21:12:43 +00:00
christos c6d3b3616a fix gcc45 warnings 2011-08-14 12:35:35 +00:00
mrg 3cdf6fedc7 initialise from_cs[1] instead of from_cs[0] twice. from GCC 4.5.3. 2011-06-22 03:57:46 +00:00
mrg 66f169a030 don't write "(u_char) NULL". 2011-06-22 03:57:20 +00:00
spz 9d87d5aa75 clean up after my recent import for netbsd-5; these files don't belong
in -current
2011-06-05 17:15:40 +00:00
spz 8f42c2dddc Import bind 9.7.3-P1 2011-06-03 19:45:13 +00:00