Commit Graph

1916 Commits

Author SHA1 Message Date
sevan 8a69f51671 grammar 2019-09-21 19:48:15 +00:00
maxv 2b4397de4a sync with reality 2019-08-13 09:48:24 +00:00
mrg 37649e4074 - enlarge buffer to avoid snprintf() truncation 2019-02-03 10:48:46 +00:00
maxv 4a7a0dc032 Add a deprecation note in each of the PF man pages (instead of just pf.4),
so that it's really clear.
2018-08-17 12:36:53 +00:00
sevan 453ff1f2f6 Escape Dx which otherwise gets interpreted as DragonFly.
via r1.49 in OpenBSD.
2018-08-07 21:11:19 +00:00
maxv 773f6b6c9a Add a bold note to say our PF is obsolete. 2018-08-01 13:30:13 +00:00
mrg fea0a40a90 fix two issues found by GCC 6.4:
- cbq_compute_idletime() had a fprintf() not in the intended missing {}.
- skip_cmp_dst_addr() compared a vs a instead of a vs b.
2018-02-04 08:44:36 +00:00
sevan 10e4d3f687 Add DragonFly BSD fingerprints. 2017-12-16 07:52:08 +00:00
sevan bef76a26e1 Synchronise with r1.27 from OpenBSD 2017-12-16 07:36:26 +00:00
dholland 2c888f6181 PR 50709 David Binderman: memory leak 2016-05-30 17:21:07 +00:00
joerg b573c5e0d5 Fix obviously broken condition. 2015-08-28 12:17:41 +00:00
riastradh 6cb10275d0 Merge riastradh-drm2 to HEAD. 2014-03-18 18:20:35 +00:00
christos fc6b1a4df8 good-bye, moved to external 2013-12-25 22:14:52 +00:00
stacktic 55facafc5a nb_name_len does not increase size when nn_scope contains only a \0,
do the same on nb_name_encode to avoid a buffer overflow
2013-12-15 21:48:55 +00:00
stacktic e9f2eda43c Make sure we keep enough space to encode the type 2013-12-15 21:45:07 +00:00
christos c57aa3348f These have moved to external 2013-11-28 22:37:58 +00:00
joerg 815896355e Change content of string, don't overwrite the newly allocated pointer. 2013-11-18 20:03:02 +00:00
christos b17e842d9f add a gcc XXX initialization 2013-10-21 15:32:41 +00:00
christos 20b11003ce remove unused variables 2013-10-21 14:57:56 +00:00
christos 93ecba067f fix unused variable warnings 2013-10-20 21:16:05 +00:00
christos b19fbb1d36 remove unused variables 2013-10-18 20:40:15 +00:00
joerg 884273eed0 wkmodulus is only used with USE_SRP, so conditionalize it. 2013-09-13 21:07:54 +00:00
wiz a5684d07dd Use Mt for email addresses. 2013-07-20 21:39:55 +00:00
christos bd9fdbecf0 buy ancient code 2013-06-20 18:39:14 +00:00
christos 3e3be60bf3 one less, 6 left. 2013-03-23 16:32:04 +00:00
christos ab35868474 It is ridiculous to truncate files on character conversions without
warning and a chance for recovery. This patch sets the handler to
copy the character, clear the error and proceed instead of bailing
out.

To replicate:
	- unset LANG
	- Create a file that has ~1000 lines. Put a single bad character
	- '\344' in it, around 2/3rds of the file down. Save it.
	- export LANG=en_US.UTF-8
	- edit the file. Notice there is no error for input conversion,
	  since nvi reads the file opportunistically.
	- :w Boom, the file is truncated.

Alternatively, you can put that character in the first line of the file,
and watch the fireworks. If you like to restore the previous behavior
compile with -DERROR_ON_CONVERT

XXX: Pullup to 6, 5 etc.
2013-01-23 18:51:51 +00:00
rmind 63f8748ee9 ftp-proxy: disable NPF bits for now; it will be re-done. 2012-12-24 01:14:40 +00:00
njoly c65ba2a0a3 Protect a few more quotes in chat script examples. 2012-11-19 22:31:34 +00:00
plunky ea7708e17f IPF 5.1.2 is in external/bsd/ipf and sys/external/bsd/ipf now;
these files are obsolete
2012-09-15 18:12:17 +00:00
plunky 72f78fcb94 reinstate "Update ftp-proxy for changes to ipnat_t" from Darren Reed 2012-09-15 17:42:43 +00:00
spz c168ad8961 Use after free (Coverity 273146) 2012-07-15 09:13:59 +00:00
abs 315046f892 Casting an uint32_t pointer to (long *) may have been acceptable
in the eighties but that time has long past. Minimally invasive
fix using a temporary long variable, so while we can still overflow
at least we're less broken.
2012-06-25 16:47:03 +00:00
wiz 3815d29a7f Finish move of bzip2 from dist/bzip2 to external/bsd/bzip2. 2012-05-07 00:35:25 +00:00
christos e93329c39c print sizeof() with %zu 2012-04-08 21:18:46 +00:00
wiz 4fe94283f2 Cast argument to unsigned long for i386. 2012-04-08 20:41:18 +00:00
wiz c1f6ba2db1 Fix a format string error clang found. 2012-04-08 17:04:19 +00:00
wiz e57903e6cb Sprinkle __dead and __printflike for clang. 2012-04-08 17:04:07 +00:00
christos dcf51b974e make this work on 64 bit machines; use stdint/inttypes. 2012-04-06 22:41:47 +00:00
he 12d4087930 More c89 prototypes, mostly just filling in void where needed. 2012-03-23 14:49:55 +00:00
joerg 4cd46b4ac8 Add some more __dead as exposed by the recent WARN bumps. 2012-03-22 22:59:43 +00:00
he 2bf75ee57f Add a void to make function declaration c89. 2012-03-22 08:56:52 +00:00
joerg efa013cb75 Fix format string usage. 2012-02-29 23:42:28 +00:00
joerg 8c3e60d97f Don't use loops with empty body. 2012-02-25 00:13:00 +00:00
christos 698a2b6926 moved to external/bsd 2012-02-18 19:20:43 +00:00
riz f8a1d7977c Back out the recent import of IPFilter 5.1.1 for the upcoming branch,
which will now have IPFilter 4.1.34.  IPFilter 5.1.1 will be restored
post-branch.

ok: core, releng.
2012-02-15 17:55:03 +00:00
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