Re: potentially incorrect conversion of pointer to unsigned long

2019-06-24 Thread Kevin J. McCarthy
On Sat, Jun 22, 2019 at 07:19:41AM -0700, Kevin J. McCarthy wrote: On Sat, Jun 22, 2019 at 09:42:36AM +0200, Vincent Lefevre wrote: IMHO, the best solution for safety would be to use a union (I think that this would require the use of C99 designators for the MuttVars initialization). Okay, I

Re: meaning of number of lines in the message (%l in index_format)

2019-06-24 Thread Derek Martin
On Mon, Jun 24, 2019 at 06:41:56PM -0500, Derek Martin wrote: > On Sat, Jun 22, 2019 at 10:47:42PM +0200, Vincent Lefevre wrote: > > I think that the manual should say more about these issues. > > Perhaps discourage this sequence? > > Or just remove it. If it's not accurate (or even if it is) wha

Re: meaning of number of lines in the message (%l in index_format)

2019-06-24 Thread Derek Martin
On Sat, Jun 22, 2019 at 10:47:42PM +0200, Vincent Lefevre wrote: > The manual says: > > %l number of lines in the message > (does not work with maildir, mh, > and possibly IMAP folders) > >

Re: $TMPDIR (was Re: Security: Mutt and mailcap rules)

2019-06-24 Thread Derek Martin
On Tue, Jun 25, 2019 at 12:45:02AM +0200, Steffen Nurpmeso wrote: > Hmm, while i totally support the $TMPDIR environment variable, and > personally dislike it a lot if i set it and someone simply does > not adhere to it, and if its only for testing purposes.., it shall > be remarked that OpenBSD "r

Re: $TMPDIR (was Re: Security: Mutt and mailcap rules)

2019-06-24 Thread Steffen Nurpmeso
Derek Martin wrote in <20190624221827.ga13...@bladeshadow.org>: |On Sun, Jun 23, 2019 at 12:36:07PM +0200, Vincent Lefevre wrote: |> On 2019-06-23 14:44:36 +1000, Cameron Simpson wrote: |>> Were it a simple filename it would all be easy. Maybe a chdir(tmpdir) |>> before running the shell comman

$TMPDIR (was Re: Security: Mutt and mailcap rules)

2019-06-24 Thread Derek Martin
On Sun, Jun 23, 2019 at 12:36:07PM +0200, Vincent Lefevre wrote: > On 2019-06-23 14:44:36 +1000, Cameron Simpson wrote: > > Were it a simple filename it would all be easy. Maybe a chdir(tmpdir) > > before running the shell command with a simple filename? > > I'm not sure whether this is a good ide