summary refs log tree commit diff
path: root/src/input.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2016-09-03 21:58:50 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2016-09-23 22:50:16 +0800
commitad092191a3f281c2d14089c86757305403a9de64 (patch)
treec8677f1b8dd700ebe39c476dbb455622b2ccb0bc /src/input.c
parentbuiltin: Fix echo -n early termination (diff)
downloaddash-ad092191a3f281c2d14089c86757305403a9de64.tar.gz
dash-ad092191a3f281c2d14089c86757305403a9de64.zip
expand - Fix dangling left square brackets in patterns
When there is an unmatched left square bracket in patterns, pmatch
will behave strangely and exhibit undefined behaviour.  This patch
(based on Harld van Dijk's original) fixes this by treating it as
a literal left square bracket.

Reported-by: Olof Johansson <olof@ethup.se>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'src/input.c')
0 files changed, 0 insertions, 0 deletions
ommit/chat.c?h=2.2&id=a2ea9a9035603f1971058a80afb1fad8fff63a26&follow=1'>Continue on EINTR from pollJune McEnroe Resizing the terminal causes it. 2018-08-03Handle ACTIONsJune McEnroe 2018-08-03Use more octal char literalsJune McEnroe I might be coming around to octal. 2018-08-03Send a WHO in response to NAMES to get usernamesJune McEnroe Other than this slight hack, I think coloring by username rather than nick is a much better idea. 2018-08-03Colorize nicks and channelsJune McEnroe 2018-08-03Add support for mIRC colorsJune McEnroe 2018-08-03Handle bold, italic, underlineJune McEnroe 2018-08-03Add prift function for "prefix shift"June McEnroe Forgive me. 2018-08-03Link with -lcurseswJune McEnroe 2018-08-02Use libtls "compat" ciphersJune McEnroe irc.mozilla.org, using GnuTLS, doesn't support *any* of the "secure" ciphers! 2018-08-02Add UI and handle some kinds of server messagesJune McEnroe Seems like handling input is going to be the worst thing ever. 2018-08-02Add chroot.tar targetJune McEnroe