[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: re-search-forward/backward causes a segmentation fault
From: |
Richard Stallman |
Subject: |
Re: re-search-forward/backward causes a segmentation fault |
Date: |
Mon, 13 Oct 2003 14:21:33 -0400 |
I see. So, regex_compile should check the size of offset
before storing it in a buffer for compiled code. But,
doesn't it mean that if regex_compile does that check, we
don't have to have the limit of 2^16 as below?
regex_compile is the place that checks, and I am going to cut the
value of MAX_BUF_SIZE by 50%.