This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] Fix for BZ 18042 buffer-overflow (read past the end) in wordexp/parse_backtick/parse_backslash


Greetings,

parse_backslash() expects to be looking *at* backslash, not past it.


2015-02-27  Paul Pluzhnikov  <ppluzhnikov@google.com>

        [BZ #18042]
        * posix/wordexp.c (parse_backtick): Fix off-by-one.
        * posix/wordexp-test.c: Add test.

-- 
Paul Pluzhnikov

Attachment: bz18042.patch.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]