CVS: cvs.openbsd.org: src

2024-05-06 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2024/05/06 13:26:17 Modified files: usr.bin/ssh: ssh-keyscan.c Log message: remove SSH1 leftovers Authored with Space Meyer ok djm

CVS: cvs.openbsd.org: src

2024-04-30 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2024/04/30 09:40:43 Modified files: usr.bin/ssh: ssh-keyscan.c Log message: never close stdin The sanitise_stdfd call makes sure that standard file descriptors are open (if they were closed, they are

CVS: cvs.openbsd.org: src

2023-05-08 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2023/05/08 11:15:43 Modified files: usr.bin/passwd : local_passwd.c Log message: Prevent signed integer overflow A signed integer overflow could occur after INT_MAX bad password attempts. Check for

CVS: cvs.openbsd.org: src

2023-05-08 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2023/05/08 10:11:41 Modified files: usr.bin/passwd : pwd_check.c Log message: Improve error handling Close pipe file descriptors if fork fails. Also do not parse exit status of child if waitpid fails.

CVS: cvs.openbsd.org: src

2022-04-23 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2022/04/23 02:57:52 Modified files: lib/libutil: imsg-buffer.c regress/lib/libutil: Makefile Added files: regress/lib/libutil/imsg: Makefile ibuf_test.c Log message: Verify sizes

CVS: cvs.openbsd.org: src

2022-04-23 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2022/04/23 02:55:00 src/regress/lib/libutil/imsg Update of /cvs/src/regress/lib/libutil/imsg In directory cvs.openbsd.org:/tmp/cvs-serv67723/imsg Log Message: Directory /cvs/src/regress/lib/libutil/imsg added to

CVS: cvs.openbsd.org: src

2022-01-08 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2022/01/08 04:07:51 Modified files: usr.bin/less : line.c Log message: Fix possible use after free with long lines Files with very long lines on machines with tight memory restrictions can provoke a

CVS: cvs.openbsd.org: src

2021-11-30 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2021/11/30 13:08:15 Modified files: usr.bin/doas : doas.c doas.h parse.y Log message: Improved error handling in config parser. - Escaped newlines confused column counter - An unclosed quote could have

CVS: cvs.openbsd.org: src

2021-10-09 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2021/10/09 09:27:19 Modified files: usr.bin/less : brac.c command.c decode.c optfunc.c option.c Log message: Merge upstream bug fixes - Switch http to https for upstream URL - Fix buffer sizes and

CVS: cvs.openbsd.org: src

2021-09-23 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2021/09/23 12:46:25 Modified files: usr.bin/less : cmdbuf.c less.1 main.c Log message: Remove wpath from secure mode pledge. Upstream removed history file support for secure mode. The history file

CVS: cvs.openbsd.org: src

2020-12-22 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2020/12/22 03:33:34 Modified files: share/man/man1 : update-plist.1 share/man/man4/man4.hppa: intro.4 pdc.4 phantomas.4 share/man/man5 : port-modules.5 Log message: Fix typos ok jmc

CVS: cvs.openbsd.org: xenocara

2020-04-25 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:xenocara Changes by: tob...@cvs.openbsd.org 2020/04/25 14:07:28 Modified files: app/cwm: xutil.c Log message: Fixed memory leak in xu_get_strprop. If a client calls XSetTextProperty for a window to clear all its properties, then

CVS: cvs.openbsd.org: xenocara

2020-04-16 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:xenocara Changes by: tob...@cvs.openbsd.org 2020/04/16 11:12:49 Modified files: app/cwm: util.c Log message: Prevent out of boundary write with configuration files in which too many quoted arguments are stored for other window managers.

CVS: cvs.openbsd.org: src

2019-05-08 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2019/05/08 11:33:22 Modified files: lib/libevent : kqueue.c Log message: Fixed integer overflow with an excessively large amount of events. While at it: KNF and switch from reallocarray to recallocarray.

CVS: cvs.openbsd.org: src

2019-05-03 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2019/05/03 10:31:34 Modified files: lib/libevent : buffer.c Log message: Fixed endless loop/ OOB write on 64 bit systems with large buffers. If a buffer exceeds UINT_MAX (which is only possible on 64 bit

CVS: cvs.openbsd.org: src

2019-04-29 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2019/04/29 11:11:52 Modified files: lib/libevent : event.c event.h min_heap.h Log message: Switched min_heap to size_t to prevent integer overflows. Also, as deraadt suggested, switched realloc to

CVS: cvs.openbsd.org: src

2019-02-07 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2019/02/07 12:11:23 Modified files: usr.bin/cut: cut.c Log message: Remove rpath from pledge when only stdin is used. ok schwarze@

CVS: cvs.openbsd.org: src

2018-12-09 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2018/12/09 12:30:34 Modified files: usr.bin/openssl: genrsa.c Log message: Keep usage in sync with logic if OPENSSL_NO_DES is set. ok jmc@, jsing@

CVS: cvs.openbsd.org: src

2018-04-09 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2018/04/09 11:53:36 Modified files: bin/ksh: c_ksh.c c_sh.c c_test.c c_ulimit.c edit.c eval.c expr.c mail.c main.c misc.c sh.h table.h tree.c var.c

CVS: cvs.openbsd.org: src

2018-04-02 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2018/04/02 00:47:43 Modified files: bin/test : test.c regress/bin/test: TEST.sh Log message: Support integers of arbitrary length. Previously it was possible to overflow integers while

CVS: cvs.openbsd.org: src

2018-03-31 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2018/03/31 08:50:56 Modified files: bin/expr : expr.c regress/bin: Makefile Added files: regress/bin/expr: Makefile expr.sh Log message: Fix overflows while handling 64 bit

CVS: cvs.openbsd.org: src

2018-03-31 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2018/03/31 08:48:12 src/regress/bin/expr Update of /cvs/src/regress/bin/expr In directory cvs.openbsd.org:/tmp/cvs-serv25044/expr Log Message: Directory /cvs/src/regress/bin/expr added to the repository

CVS: cvs.openbsd.org: src

2018-03-30 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2018/03/30 03:25:06 Modified files: usr.bin/cut: cut.c regress/usr.bin/cut: cut.sh Log message: Fix overflow in list value parsing. On 64 bit systems an integer overflow between strtol and int

CVS: cvs.openbsd.org: src

2018-03-27 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2018/03/27 04:46:24 Modified files: regress/usr.bin: Makefile Log message: Link apply into regress build.

CVS: cvs.openbsd.org: src

2018-03-27 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2018/03/27 04:00:16 Modified files: usr.bin/apply : apply.c Added files: regress/usr.bin/apply: Makefile t1.in t1.out t2.out t3.out t4.out t5.out t6.out Log

CVS: cvs.openbsd.org: src

2018-03-21 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2018/03/21 14:51:46 src/regress/usr.bin/apply Update of /cvs/src/regress/usr.bin/apply In directory cvs.openbsd.org:/tmp/cvs-serv14915/apply Log Message: Directory /cvs/src/regress/usr.bin/apply added to the

CVS: cvs.openbsd.org: src

2017-10-22 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2017/10/22 12:26:46 Modified files: lib/libc/sys : pledge.2 Log message: Removed duplicated line. ok jmc@

CVS: cvs.openbsd.org: src

2017-07-02 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2017/07/02 13:06:12 Modified files: libexec/ld.so/ldd: ldd.c Log message: Fixed a typo in error message. ok jmc@

CVS: cvs.openbsd.org: xenocara

2017-01-30 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:xenocara Changes by: tob...@cvs.openbsd.org 2017/01/30 14:45:27 Modified files: app/xenodm/xenodm: session.c Log message: Reset SIGCHLD signal handler to previous value in error path, too. ok matthieu@

CVS: cvs.openbsd.org: src

2016-09-02 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2016/09/02 15:39:51 Modified files: usr.bin/patch : ed.c Log message: Fix 'c'hange command handling if last line of a file is removed. If the last line of a file is removed, the line cache is erroneously

CVS: cvs.openbsd.org: src

2016-06-11 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2016/06/11 05:43:02 Modified files: usr.sbin/bgpd : bgpd.conf.5 Log message: Fixed "then" vs "than" typo. ok jmc

CVS: cvs.openbsd.org: src

2016-02-22 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2016/02/22 12:31:38 Modified files: regress/usr.bin/patch: Makefile usr.bin/patch : ed.c Added files: regress/usr.bin/patch: t18.diff t18.in t18.out Log message: Properly handle ed-files

CVS: cvs.openbsd.org: src

2015-12-06 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2015/12/06 04:54:59 Modified files: lib/libc/locale: rune.c Log message: Validate input files to prevent out of boundary accesses. with input by and ok schwarze@

CVS: cvs.openbsd.org: src

2015-12-06 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2015/12/06 04:56:47 Modified files: sbin/newfs : newfs.c sbin/newfs_ext2fs: newfs_ext2fs.c Log message: Avoid out of boundary access on illegal command line arguments. ok deraadt, mmcc, tedu

CVS: cvs.openbsd.org: src

2015-12-06 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2015/12/06 05:00:16 Modified files: bin/mt : mt.c bin/pax: options.c games/gomoku : main.c sbin/pdisk : errors.c errors.h pdisk.c usr.bin/telnet :

CVS: cvs.openbsd.org: src

2015-12-04 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2015/12/04 14:51:07 Modified files: usr.bin/ssh: misc.c Log message: Properly handle invalid %-format by calling fatal. ok deraadt, djm

CVS: cvs.openbsd.org: src

2015-11-17 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2015/11/17 11:25:03 Modified files: usr.bin/cvs: xmalloc.c usr.bin/diff : xmalloc.c usr.bin/file : xmalloc.c xmalloc.h usr.bin/rcs: xmalloc.c xmalloc.h

CVS: cvs.openbsd.org: src

2015-11-15 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2015/11/15 15:11:18 Modified files: usr.bin/file : magic-load.c Log message: When validating a char by calling strchr() with a string of allowed chars, check for '\0' first, because strchr() would return

CVS: cvs.openbsd.org: src

2015-10-25 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2015/10/25 14:18:37 Modified files: usr.bin/sed: main.c Log message: Write error message instead of duplicated file name on error. ok deraadt

CVS: cvs.openbsd.org: src

2015-10-23 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2015/10/23 12:49:07 Modified files: lib/libc/nls : catopen.c Log message: Verify that opened message catalog is valid, i.e. avoid integer overflows and out of boundary accesses. with input by miod, ok

CVS: cvs.openbsd.org: src

2015-10-18 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2015/10/18 11:32:22 Modified files: usr.sbin/crunchgen: crunchide.c Log message: Avoid integer overflow with very large files. ok millert

CVS: cvs.openbsd.org: src

2015-10-16 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2015/10/16 10:54:39 Modified files: distrib/common : elfrd_size.c lib/libc/gen : nlist.c usr.sbin/installboot: i386_nlist.c Log message: Check file sizes only for regular files. The

CVS: cvs.openbsd.org: src

2015-10-16 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2015/10/16 01:37:46 Modified files: games/hack : config.h hh Log message: Disable !-command to escape to a shell. You are supposed to play, press ^Z, or open up another terminal if there is something

CVS: cvs.openbsd.org: src

2015-10-16 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2015/10/16 01:33:47 Modified files: usr.bin/patch : Makefile patch.c pch.c pch.h Added files: usr.bin/patch : ed.c ed.h Log message: Add native support for ed-style diffs. No need to pledge "proc

CVS: cvs.openbsd.org: src

2015-10-16 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2015/10/16 01:40:13 Modified files: lib/libc/gen : nlist.c Log message: Validate parsed ELF values to prevent out of boundary accesses. While at it, return proper return value when encountering a stripped

CVS: cvs.openbsd.org: src

2015-10-16 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2015/10/16 07:54:45 Modified files: distrib/common : elfrd_size.c lib/libc/gen : nlist.c usr.sbin/installboot: i386_nlist.c Log message: Merge nlist out of boundary access fix with other

CVS: cvs.openbsd.org: src

2015-10-14 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2015/10/14 10:42:51 Modified files: usr.bin/sort : sort.c Log message: Copy permissions AND ownership when -o will override an input file. with input by and ok deraadt@, millert@, tim@

CVS: cvs.openbsd.org: src

2015-10-14 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2015/10/14 11:29:44 Modified files: libexec/ld.so : dl_prebind.c libexec/ld.so/ldconfig: prebind.c Removed files: libexec/ld.so/ldconfig: dl_prebind.c Log message: Check mmap and read

CVS: cvs.openbsd.org: src

2015-10-13 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2015/10/13 11:07:05 Modified files: regress/usr.bin/patch: Makefile Added files: regress/usr.bin/patch: t17.diff t17.in t17.out Log message: Test t16 for ed-formatted diffs does not contain a

CVS: cvs.openbsd.org: src

2015-10-13 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2015/10/13 10:37:17 Modified files: usr.bin/diff : diffreg.c Log message: Replace our /^\.\././ expression with /.//. The term is simpler and has the same meaning in our diff ed-context. As a bonus, our

CVS: cvs.openbsd.org: src

2015-10-10 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2015/10/10 14:36:20 Modified files: share/man/man3 : queue.3 Log message: Added missing curly bracket into LIST_EMPTY example. ok deraadt@, otto@

CVS: cvs.openbsd.org: src

2015-10-09 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2015/10/09 15:24:05 Modified files: bin/ed : ed.h main.c re.c Log message: The variable errmsg can be static in main.c if code in re.c uses an own buffer to construct error messages. with input by

CVS: cvs.openbsd.org: src

2015-10-09 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2015/10/09 14:27:28 Modified files: bin/ed : ed.h glbl.c io.c main.c re.c sub.c Log message: Define functions as static when they are not used outside their own c-files. ok millert@

CVS: cvs.openbsd.org: src

2015-09-12 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2015/09/12 03:44:08 Modified files: sbin/ping6 : ping6.c Log message: Avoid out of boundary access on invalid or short packet reads. ok florian@

CVS: cvs.openbsd.org: src

2015-09-06 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2015/09/06 14:07:46 Modified files: usr.sbin/wsfontload: wsfontload.c Log message: UINT_MAX would overflow the integer calculation later on, leading to floating point exception just like -1 would do. Use

CVS: cvs.openbsd.org: src

2015-09-06 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2015/09/06 13:56:43 Modified files: usr.sbin/wsfontload: wsfontload.c Log message: Avoid floating point exception when an invalid font width was specified. Also print actually helpful error messages when

CVS: cvs.openbsd.org: src

2015-09-06 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2015/09/06 02:44:07 Modified files: libexec/ld.so/ldconfig: library.c prebind.c Log message: Check strdup return value for NULL. ok millert@

CVS: cvs.openbsd.org: src

2015-07-22 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2015/07/22 10:37:04 Modified files: usr.bin/tail : reverse.c Log message: Fix memory leak when tail -r is used with anything but regular files. ok schwarze@

CVS: cvs.openbsd.org: src

2015-07-12 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2015/07/12 03:51:25 Modified files: usr.bin/file : file.c Log message: Keep one byte for terminating '\0'. ok nicm@

CVS: cvs.openbsd.org: src

2015-07-08 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2015/07/08 11:49:45 Modified files: usr.bin/file : file.c Log message: Properly handle files = 4 GB on 32 bit architectures. with input by and ok nicm@

CVS: cvs.openbsd.org: src

2015-07-08 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2015/07/08 11:47:15 Modified files: usr.bin/file : magic-load.c Log message: Do not allow '\0' as an offset operator or type. ok nicm

CVS: cvs.openbsd.org: src

2015-04-03 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2015/04/03 04:37:24 Modified files: usr.bin/sort : file.c sort.c Log message: The combination of -c and -o is not specified by POSIX. In fact, the call sort -o file -c file has unspecified behavior and

CVS: cvs.openbsd.org: src

2015-04-03 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2015/04/03 04:07:25 Modified files: usr.bin/sort : sort.c Log message: If -S has been supplied multiple times, only take last one into account. Without this patch, multiple -S arguments influence each

CVS: cvs.openbsd.org: src

2015-04-02 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2015/04/02 15:04:06 Modified files: usr.bin/sort : file.c file.h sort.c Log message: Global variable free_memory is only used in sort.c's set_hw_params, so turn it into a local one. ok millert@

CVS: cvs.openbsd.org: src

2015-04-02 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2015/04/02 14:56:00 Modified files: usr.bin/sort : sort.c Log message: Add signal name instead of array index (which is not the signal number) to sigaction error message. with input by and ok millert@

CVS: cvs.openbsd.org: src

2015-04-02 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2015/04/02 14:57:34 Modified files: usr.bin/sort : sort.c Log message: No need to strdup environment variable or command line arguments here. ok millert@

CVS: cvs.openbsd.org: src

2015-04-02 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2015/04/02 15:00:08 Modified files: usr.bin/sort : radixsort.c sort.c Log message: Fixed whitespace issues. ok millert@

CVS: cvs.openbsd.org: src

2015-04-02 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2015/04/02 14:58:43 Modified files: usr.bin/sort : coll.c radixsort.c Log message: Zap some more NULL checks in front of free. ok millert@

CVS: cvs.openbsd.org: src

2015-04-02 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2015/04/02 15:09:51 Modified files: usr.bin/sort : sort.c Log message: Prevent integer overflow when parsing -S argument as percentage. Also make sure that the parsed memory amount, stored in a long long,

CVS: cvs.openbsd.org: src

2015-04-01 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2015/04/01 14:17:56 Modified files: usr.bin/sort : file.c Log message: Use mkstemp to generate a new temporary file name. ok millert

CVS: cvs.openbsd.org: src

2015-03-31 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2015/03/31 05:06:49 Modified files: usr.bin/ssh: ssh-keygen.c Log message: Comments are only supported for RSA1 keys. If a user tried to add one and entered his passphrase, explicitly clear it before

CVS: cvs.openbsd.org: src

2015-03-31 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2015/03/31 13:50:54 Modified files: usr.bin/sort : file.c Log message: Remove a useless use of cat. ok millert

CVS: cvs.openbsd.org: src

2015-03-30 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2015/03/30 03:21:42 Modified files: usr.sbin/syslogd: syslogd.c Log message: Use getline instead of fgets to allow arbitrary line length in configuration file. Also make sure that we fully parsed it. If

CVS: cvs.openbsd.org: src

2015-03-26 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2015/03/26 04:36:03 Modified files: usr.bin/nc : netcat.c Log message: Check for short writes in fdpass(). Clean up while at it. ok djm

CVS: cvs.openbsd.org: src

2015-03-26 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2015/03/26 04:35:04 Modified files: usr.bin/nc : nc.1 Log message: Sync camel case of ProxyUseFdpass with ssh_config(5). ok djm

CVS: cvs.openbsd.org: src

2015-03-26 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2015/03/26 15:19:51 Modified files: usr.bin/nc : socks.c Log message: Fix error message in case of write failure. ok djm

CVS: cvs.openbsd.org: src

2015-03-26 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2015/03/26 15:26:43 Modified files: usr.bin/tail : read.c Log message: Whitespace fix: Closing bracket belongs to if-block, not enclosing for

CVS: cvs.openbsd.org: src

2015-03-26 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2015/03/26 15:22:50 Modified files: usr.bin/nc : netcat.c Log message: The code in socks.c writes multiple times in a row to a socket. If the socket becomes invalid between these calls (e.g. connection

CVS: cvs.openbsd.org: src

2015-03-01 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2015/03/01 13:59:05 Modified files: bin/df : ext2fs_df.c Log message: Avoid SIGFPE when parsing an invalid ext2fs through a raw device operation. ok millert

CVS: cvs.openbsd.org: src

2015-02-01 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2015/02/01 04:50:23 Modified files: usr.bin/compress: zopen.c Log message: KNF whitespace fix and handle funopen error case. ok millert

CVS: cvs.openbsd.org: src

2014-12-14 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2014/12/14 02:12:59 Modified files: usr.bin/patch : pch.c Log message: Handle ed command s as a one line command, which it is. Prevents arbitrary ed command executions in following lines. ok millert

CVS: cvs.openbsd.org: src

2014-12-13 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2014/12/13 03:26:48 Modified files: bin/chmod : chmod.c Log message: Properly validate ranges: - avoid out of boundary access on very short program names - fix compiler warning when converting values

CVS: cvs.openbsd.org: src

2014-12-13 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2014/12/13 03:31:07 Modified files: usr.bin/patch : patch.c pch.c util.c util.h Log message: The function savestr allows NULL return values during Plan A patching so in case of out of memory conditions,

CVS: cvs.openbsd.org: src

2014-12-10 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2014/12/10 12:40:21 Modified files: usr.sbin/syslogd: syslogd.c Log message: File descriptors are of type int, not short. While at it, adjust remaining short to int too -- there are no space savings

CVS: cvs.openbsd.org: src

2014-12-10 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2014/12/10 12:42:14 Modified files: usr.sbin/syslogd: syslogd.c Log message: If default file descriptors (0, 1, 2) have to be assigned to /dev/null, don't accidentally assign 3, too. ok millert, with input

CVS: cvs.openbsd.org: src

2014-12-10 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2014/12/10 12:44:21 Modified files: usr.bin/ctags : ctags.c ctags.h Log message: The macros endtoken and isgood aren't used anywhere... zap them and their data structures. ok jsg, millert

CVS: cvs.openbsd.org: src

2014-12-09 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2014/12/09 13:28:43 Modified files: usr.bin/patch : inp.c Log message: Fix division by zero for files with long lines ( 1024) in Plan B mode by supporting arbitrarily long lines just like Plan A does. ok

CVS: cvs.openbsd.org: src

2014-12-07 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2014/12/07 06:59:55 Modified files: usr.sbin/syslogd: syslogd.c Log message: Fix regression for priority none (spotted by doug) of last commit by not parsing numbers at all -- syslog.conf(5) explicitly

CVS: cvs.openbsd.org: src

2014-12-06 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2014/12/06 05:18:32 Modified files: usr.sbin/syslogd: syslogd.c Log message: Verify that facility and priority numbers are in valid ranges. ok bluhm

CVS: cvs.openbsd.org: src

2014-11-27 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2014/11/27 03:22:38 Modified files: usr.sbin/npppd/pppoe: pppoed.c Log message: Fix typos in comments. ok jmc, yasuoka

CVS: cvs.openbsd.org: src

2014-11-26 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2014/11/26 03:11:22 Modified files: usr.bin/patch : pch.c Log message: Properly validate line ranges supplied in diff file to prevent overflows. Also fixes an out of boundary memory access because the

CVS: cvs.openbsd.org: src

2014-11-25 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2014/11/25 03:20:24 Modified files: usr.bin/paste : paste.c Log message: Release file descriptors as soon as they are not needed anymore. ok millert

CVS: cvs.openbsd.org: src

2014-11-25 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2014/11/25 03:22:08 Modified files: usr.bin/patch : inp.c Log message: Prevent null pointer dereference on empty input files when diff requires a specific version. ok millert

CVS: cvs.openbsd.org: src

2014-11-25 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2014/11/25 03:26:07 Modified files: usr.bin/patch : common.h pch.c Log message: Introduce strtolinenum to properly check line numbers while parsing: no signs, no spaces, just digits, 0 = x = LONG_MAX ok

CVS: cvs.openbsd.org: src

2014-11-25 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2014/11/25 09:01:08 Modified files: regress/usr.bin/patch: Makefile Added files: regress/usr.bin/patch: t14.diff t14.in t14.out t15.diff t15.in t15.out t16.diff t16.in

CVS: cvs.openbsd.org: www

2014-11-25 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:www Changes by: tob...@cvs.openbsd.org 2014/11/25 15:12:40 Modified files: . : plus.html Log message: Fixed 5.4 typo (was supposed to be 5.6). ok brett

CVS: cvs.openbsd.org: src

2014-11-22 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2014/11/22 08:49:28 Modified files: usr.bin/patch : common.h inp.c patch.1 pch.c util.c Log message: Remove SCCS support. For this to work, we would need get, which we don't even have in ports. XSI

CVS: cvs.openbsd.org: src

2014-11-22 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2014/11/22 08:51:40 Modified files: usr.bin/cvs: rcsparse.c usr.bin/rcs: rcsparse.c Log message: Fixed uninitialized pointer (and other struct entries while at it) which is referenced while

CVS: cvs.openbsd.org: src

2014-11-18 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2014/11/18 10:03:35 Modified files: usr.bin/patch : pch.c Log message: Avoid iterating over end of string. ok millert, otto

CVS: cvs.openbsd.org: src

2014-11-17 Thread Tobias Stoeckmann
CVSROOT:/cvs Module name:src Changes by: tob...@cvs.openbsd.org 2014/11/17 03:58:09 Modified files: usr.bin/patch : pch.c Log message: Check fstat return value. Also, use off_t for file size and offsets as suggested by bluhm@. ok schwarze@

  1   2   3   >