CVS commit: src/usr.bin/mail

2023-09-08 Thread Mateusz Kocielski
Module Name:src Committed By: shm Date: Fri Sep 8 20:46:45 UTC 2023 Modified Files: src/usr.bin/mail: support.c Log Message: Add check for space presence after comma in skin() Check if comma is followed by space, otherwise it may lead to overflow in the output buffer as

CVS commit: src/usr.bin/mail

2023-09-08 Thread Mateusz Kocielski
Module Name:src Committed By: shm Date: Fri Sep 8 20:46:45 UTC 2023 Modified Files: src/usr.bin/mail: support.c Log Message: Add check for space presence after comma in skin() Check if comma is followed by space, otherwise it may lead to overflow in the output buffer as

CVS commit: src/usr.bin/mail

2023-09-08 Thread Mateusz Kocielski
Module Name:src Committed By: shm Date: Fri Sep 8 20:37:07 UTC 2023 Modified Files: src/usr.bin/mail: support.c Log Message: Fix writing outside of the nbuf buffer in skin() Data provided to skin() can be longer than LINEBUF (if same header is provided multiple times,

CVS commit: src/usr.bin/mail

2023-09-08 Thread Mateusz Kocielski
Module Name:src Committed By: shm Date: Fri Sep 8 20:37:07 UTC 2023 Modified Files: src/usr.bin/mail: support.c Log Message: Fix writing outside of the nbuf buffer in skin() Data provided to skin() can be longer than LINEBUF (if same header is provided multiple times,

CVS commit: src/usr.bin/mail

2023-09-08 Thread Mateusz Kocielski
Module Name:src Committed By: shm Date: Fri Sep 8 14:34:02 UTC 2023 Modified Files: src/usr.bin/mail: format.c Log Message: Fix check_bufsize() incorrect behaviour The function ensures that that buffer is large enough to store the data (if not, it reallocates it). It

CVS commit: src/usr.bin/mail

2023-09-08 Thread Mateusz Kocielski
Module Name:src Committed By: shm Date: Fri Sep 8 14:34:02 UTC 2023 Modified Files: src/usr.bin/mail: format.c Log Message: Fix check_bufsize() incorrect behaviour The function ensures that that buffer is large enough to store the data (if not, it reallocates it). It

CVS commit: src/usr.bin/mail

2023-09-08 Thread Mateusz Kocielski
Module Name:src Committed By: shm Date: Fri Sep 8 14:22:04 UTC 2023 Modified Files: src/usr.bin/mail: vars.c Log Message: Fixed undefined behaviour in hash() Shift left on large int values was causing an undefined behaviour, fix it by operating on unsigned int type

CVS commit: src/usr.bin/mail

2023-09-08 Thread Mateusz Kocielski
Module Name:src Committed By: shm Date: Fri Sep 8 14:22:04 UTC 2023 Modified Files: src/usr.bin/mail: vars.c Log Message: Fixed undefined behaviour in hash() Shift left on large int values was causing an undefined behaviour, fix it by operating on unsigned int type

CVS commit: src/usr.bin/mail

2023-08-22 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Wed Aug 23 03:49:00 UTC 2023 Modified Files: src/usr.bin/mail: fio.c thread.c Log Message: mail: Fix regression for recent use-after-free fix For makemessage(), do not skip thread_fix_old_links() for newly-allocated message as

CVS commit: src/usr.bin/mail

2023-08-22 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Wed Aug 23 03:49:00 UTC 2023 Modified Files: src/usr.bin/mail: fio.c thread.c Log Message: mail: Fix regression for recent use-after-free fix For makemessage(), do not skip thread_fix_old_links() for newly-allocated message as

CVS commit: src/usr.bin/mail

2023-08-11 Thread matthew green
Module Name:src Committed By: mrg Date: Fri Aug 11 07:01:01 UTC 2023 Modified Files: src/usr.bin/mail: lex.c Log Message: explicitly truncate display name string size. To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46 src/usr.bin/mail/lex.c Please note that

CVS commit: src/usr.bin/mail

2023-08-11 Thread matthew green
Module Name:src Committed By: mrg Date: Fri Aug 11 07:01:01 UTC 2023 Modified Files: src/usr.bin/mail: lex.c Log Message: explicitly truncate display name string size. To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46 src/usr.bin/mail/lex.c Please note that

CVS commit: src/usr.bin/mail

2021-12-17 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Dec 17 15:29:44 UTC 2021 Modified Files: src/usr.bin/mail: thread.c Log Message: Remove an unnecessary test for NULL (the same thing is done in the following lines) along with an incorrect return of nothing if it is found (the

CVS commit: src/usr.bin/mail

2021-12-17 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Dec 17 13:14:54 UTC 2021 Modified Files: src/usr.bin/mail: thread.c Log Message: more protection from unset threads from RVP To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/usr.bin/mail/thread.c Please

CVS commit: src/usr.bin/mail

2021-12-17 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Dec 17 13:14:54 UTC 2021 Modified Files: src/usr.bin/mail: thread.c Log Message: more protection from unset threads from RVP To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/usr.bin/mail/thread.c Please

CVS commit: src/usr.bin/mail

2021-12-14 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Dec 14 21:12:03 UTC 2021 Modified Files: src/usr.bin/mail: thread.c Log Message: Avoid NULL deref if there is no current thread. From RVP. Prints "No applicable message" To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/mail

2021-12-14 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Dec 14 21:12:03 UTC 2021 Modified Files: src/usr.bin/mail: thread.c Log Message: Avoid NULL deref if there is no current thread. From RVP. Prints "No applicable message" To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/mail

2021-12-14 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Dec 14 15:13:42 UTC 2021 Modified Files: src/usr.bin/mail: cmdtab.c Log Message: PR/56548: RVP: mail(1) segfaults if thread commands are used in ~/.mailrc To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22

CVS commit: src/usr.bin/mail

2021-12-14 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Dec 14 15:13:42 UTC 2021 Modified Files: src/usr.bin/mail: cmdtab.c Log Message: PR/56548: RVP: mail(1) segfaults if thread commands are used in ~/.mailrc To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22

CVS commit: src/usr.bin/mail

2021-11-10 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Nov 10 16:42:47 UTC 2021 Modified Files: src/usr.bin/mail: complete.c Log Message: s/struture/structure/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/usr.bin/mail/complete.c Please note

CVS commit: src/usr.bin/mail

2021-11-10 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Wed Nov 10 16:42:47 UTC 2021 Modified Files: src/usr.bin/mail: complete.c Log Message: s/struture/structure/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/usr.bin/mail/complete.c Please note

CVS commit: src/usr.bin/mail

2021-11-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Nov 1 20:40:08 UTC 2021 Modified Files: src/usr.bin/mail: mail.1 Log Message: mail.1: fix duplicate word To generate a diff of this commit: cvs rdiff -u -r1.68 -r1.69 src/usr.bin/mail/mail.1 Please note that diffs are not

CVS commit: src/usr.bin/mail

2021-11-01 Thread Roland Illig
Module Name:src Committed By: rillig Date: Mon Nov 1 20:40:08 UTC 2021 Modified Files: src/usr.bin/mail: mail.1 Log Message: mail.1: fix duplicate word To generate a diff of this commit: cvs rdiff -u -r1.68 -r1.69 src/usr.bin/mail/mail.1 Please note that diffs are not

CVS commit: src/usr.bin/mail

2019-09-01 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Sun Sep 1 19:10:39 UTC 2019 Modified Files: src/usr.bin/mail: mail.1 Log Message: Remove superfluous Pp. To generate a diff of this commit: cvs rdiff -u -r1.66 -r1.67 src/usr.bin/mail/mail.1 Please note that diffs are not public

CVS commit: src/usr.bin/mail

2019-09-01 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Sun Sep 1 19:10:39 UTC 2019 Modified Files: src/usr.bin/mail: mail.1 Log Message: Remove superfluous Pp. To generate a diff of this commit: cvs rdiff -u -r1.66 -r1.67 src/usr.bin/mail/mail.1 Please note that diffs are not public

CVS commit: src/usr.bin/mail

2019-09-01 Thread Sevan Janiyan
Module Name:src Committed By: sevan Date: Sun Sep 1 18:24:28 UTC 2019 Modified Files: src/usr.bin/mail: mail.1 Log Message: mail was in v1 https://www.bell-labs.com/usr/dmr/www/man12.pdf To generate a diff of this commit: cvs rdiff -u -r1.65 -r1.66

CVS commit: src/usr.bin/mail

2019-09-01 Thread Sevan Janiyan
Module Name:src Committed By: sevan Date: Sun Sep 1 18:24:28 UTC 2019 Modified Files: src/usr.bin/mail: mail.1 Log Message: mail was in v1 https://www.bell-labs.com/usr/dmr/www/man12.pdf To generate a diff of this commit: cvs rdiff -u -r1.65 -r1.66

CVS commit: src/usr.bin/mail

2019-07-26 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Jul 26 13:05:31 UTC 2019 Modified Files: src/usr.bin/mail: mail.1 Log Message: PR/54410: fmoon: typos in mail(1) To generate a diff of this commit: cvs rdiff -u -r1.64 -r1.65 src/usr.bin/mail/mail.1 Please note that

CVS commit: src/usr.bin/mail

2019-07-26 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Jul 26 13:05:31 UTC 2019 Modified Files: src/usr.bin/mail: mail.1 Log Message: PR/54410: fmoon: typos in mail(1) To generate a diff of this commit: cvs rdiff -u -r1.64 -r1.65 src/usr.bin/mail/mail.1 Please note that

Re: CVS commit: src/usr.bin/mail

2018-05-23 Thread Christos Zoulas
In article <20180523065522.ga18...@homeworld.netbsd.org>, wrote: >You don't get to sneak a controversial change by omitting a real commit >message. το λακωνίζειν εστί φιλοσοφείν christos

Re: CVS commit: src/usr.bin/mail

2018-05-23 Thread maya
You don't get to sneak a controversial change by omitting a real commit message. On Tue, May 22, 2018 at 09:03:47PM -0400, Christos Zoulas wrote: > Module Name: src > Committed By: christos > Date: Wed May 23 01:03:46 UTC 2018 > > Modified Files: > src/usr.bin/mail: Makefile

Re: CVS commit: src/usr.bin/mail

2014-12-17 Thread Christos Zoulas
In article 20141217131849.r2prgpje%sdao...@yandex.com, Steffen Nurpmeso sdao...@yandex.com wrote: This is fully yours and who am i but |Added expandaddr option to explicitly enable this behavior. why does a Christos Zoulas silently wave through this sloppy programmed shit from oss-sec that

Re: CVS commit: src/usr.bin/mail

2014-12-17 Thread Steffen Nurpmeso
This is fully yours and who am i but Christos Zoulas chris...@netbsd.org wrote: |Module Name: src |Committed By: christos |Date: Tue Dec 16 19:30:24 UTC 2014 | |Modified Files: | src/usr.bin/mail: cmd3.c extern.h fio.c mail.1 names.c send.c | |Log Message: |Fix various security

Re: CVS commit: src/usr.bin/mail

2014-12-17 Thread Christos Zoulas
In article 20141217142550.ne2degkj%sdao...@yandex.com, Steffen Nurpmeso sdao...@yandex.com wrote: No, of course not -- except that validate user input screams from every wall. Maybe i'm just disappointed. But any environment that passes a string that includes shell meta characters through to

Re: CVS commit: src/usr.bin/mail

2014-12-17 Thread Steffen Nurpmeso
chris...@astron.com (Christos Zoulas) wrote: |In article 20141217131849.r2prgpje%sdao...@yandex.com, |Steffen Nurpmeso sdao...@yandex.com wrote: |This is fully yours and who am i but | ||Added expandaddr option to explicitly enable this behavior. | |why does a Christos Zoulas silently wave

Re: CVS commit: src/usr.bin/mail

2013-01-03 Thread Christos Zoulas
In article 20130104015455.d9d3e17...@cvs.netbsd.org, Christos Zoulas source-changes-d@NetBSD.org wrote: -=-=-=-=-=- Module Name: src Committed By: christos Date: Fri Jan 4 01:54:55 UTC 2013 Modified Files: src/usr.bin/mail: mime_attach.c Log Message: PR/47396: Steffen:

CVS commit: src/usr.bin/mail

2010-01-12 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Jan 12 14:44:24 UTC 2010 Modified Files: src/usr.bin/mail: complete.c Log Message: - 1 - EXIT_FAILURE - avoid assertion firing when hitting ^D in CC: line. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20