[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: info segfaults when using quotes in .infokey
From: |
Gavin Smith |
Subject: |
Re: info segfaults when using quotes in .infokey |
Date: |
Thu, 27 Apr 2017 19:13:44 +0100 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Thu, Apr 27, 2017 at 12:56:35PM +0200, Benno Schulenberg wrote:
>
> To reproduce, make a .infokey file with:
>
> #var
> match-style="red,bold"
>
> Then run: info/ginfo info
> Segmentation fault.
>
> The quotes may not be necessary,
> but... to choke and die on them?
It is not the quotes per se but the fact that the variable ends up with
an "empty" value.
#var
match-style=
crashes too.
I've fixed it now so it doesn't crash. Thanks for testing this.
I don't think it is necessary to have any special support for quoting
variable values.