CVS commit: src/usr.bin/mail

2024-08-17 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Sat Aug 17 19:18:10 UTC 2024 Modified Files: src/usr.bin/mail: lex.c Log Message: s/signficance/significance/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47 src/usr.bin/mail/lex.c Please note that dif

CVS commit: src/usr.bin/mail

2024-08-17 Thread Andrius Varanavicius
Module Name:src Committed By: andvar Date: Sat Aug 17 19:18:10 UTC 2024 Modified Files: src/usr.bin/mail: lex.c Log Message: s/signficance/significance/ in comment. To generate a diff of this commit: cvs rdiff -u -r1.46 -r1.47 src/usr.bin/mail/lex.c Please note that dif

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, hf

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, hf

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 dou

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 dou

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 inste

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 inste

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 befor

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 befor

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 fo

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 fo

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 n

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 n

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 -r1.

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 -r1.

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 src/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 src/u

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 tha

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 tha

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 src/usr.bin/mail/mail

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 src/usr.bin/mail/mail

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 diffs

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 diffs

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-22 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 mail.1

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 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 thi

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

2014-12-17 Thread Christos Zoulas
In article <20141217142550.ne2degkj%sdao...@yandex.com>, Steffen Nurpmeso 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 whatever el

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

2014-12-17 Thread Steffen Nurpmeso
This is fully yours and who am i but "Christos Zoulas" 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 related issues: |

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

2014-12-17 Thread Christos Zoulas
In article <20141217131849.r2prgpje%sdao...@yandex.com>, Steffen Nurpmeso 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 simply returns

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

2013-01-03 Thread Christos Zoulas
In article <20130104015455.d9d3e17...@cvs.netbsd.org>, Christos Zoulas 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: mail(1) may falsely

CVS commit: src/usr.bin/mail

2010-01-12 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Jan 12 14:45:31 UTC 2010 Modified Files: src/usr.bin/mail: fio.c lex.c list.c main.c names.c strings.c temp.c Log Message: error message cleanup - 1 -> EXIT_FAILURE - fprintf(stderr, -> warnx( - better warning messages To

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 src

CVS commit: src/usr.bin/mail

2010-01-12 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Jan 12 14:43:32 UTC 2010 Modified Files: src/usr.bin/mail: popen.c Log Message: - 1 -> EXIT_FAILURE - preallocate child struct, since the signal handler can be called before wait_child, and we cannot allocate a child struc