<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/mariadb-git.git/regex, branch bb-10.2-mdev7660</title>
<subtitle>github.com: MariaDB/server.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/'/>
<entry>
<title>MDEV-4425 REGEXP enhancements</title>
<updated>2013-09-26T14:02:17+00:00</updated>
<author>
<name>Alexander Barkov</name>
<email>bar@mnogosearch.org</email>
</author>
<published>2013-09-26T14:02:17+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=285e7aa179a6081531be3274772b89e8989fd107'/>
<id>285e7aa179a6081531be3274772b89e8989fd107</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>mysql-5.5.31 merge</title>
<updated>2013-05-07T11:05:09+00:00</updated>
<author>
<name>Sergei Golubchik</name>
<email>sergii@pisem.net</email>
</author>
<published>2013-05-07T11:05:09+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=b381cf843c841151f96541b19bd753cd3bbae326'/>
<id>b381cf843c841151f96541b19bd753cd3bbae326</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG#14303860 - EXECUTING A SELECT QUERY WITH TOO </title>
<updated>2013-01-14T11:21:52+00:00</updated>
<author>
<name>Neeraj Bisht</name>
<email>neeraj.x.bisht@oracle.com</email>
</author>
<published>2013-01-14T11:21:52+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=84d798a1d533fb20cdb90dc0bcfae0891873f1bf'/>
<id>84d798a1d533fb20cdb90dc0bcfae0891873f1bf</id>
<content type='text'>
MANY WILDCARDS CAUSES A SEGFAULT
      Back port from 5.6 and trunk
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MANY WILDCARDS CAUSES A SEGFAULT
      Back port from 5.6 and trunk
</pre>
</div>
</content>
</entry>
<entry>
<title>BUG#14303860 - EXECUTING A SELECT QUERY WITH TOO </title>
<updated>2013-01-14T09:29:48+00:00</updated>
<author>
<name>Neeraj Bisht</name>
<email>neeraj.x.bisht@oracle.com</email>
</author>
<published>2013-01-14T09:29:48+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=99645e5be59145bcab2fe36aefde4224e6e69961'/>
<id>99645e5be59145bcab2fe36aefde4224e6e69961</id>
<content type='text'>
MANY WILDCARDS CAUSES A SEGFAULT

Back port from 5.6 and trunk
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MANY WILDCARDS CAUSES A SEGFAULT

Back port from 5.6 and trunk
</pre>
</div>
</content>
</entry>
<entry>
<title>MDEV-207 Install headers required to build external storage plugins</title>
<updated>2012-05-05T06:27:17+00:00</updated>
<author>
<name>Sergei Golubchik</name>
<email>sergii@pisem.net</email>
</author>
<published>2012-05-05T06:27:17+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=91527014c2f8cbc63e1588beb84d27b7780dbd85'/>
<id>91527014c2f8cbc63e1588beb84d27b7780dbd85</id>
<content type='text'>
5.5 version. for cmake, not autotools.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
5.5 version. for cmake, not autotools.
</pre>
</div>
</content>
</entry>
<entry>
<title>5.5-merge</title>
<updated>2011-07-02T20:08:51+00:00</updated>
<author>
<name>Sergei Golubchik</name>
<email>sergii@pisem.net</email>
</author>
<published>2011-07-02T20:08:51+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=9809f05199aeb0b67991fac41bd86f38730768dc'/>
<id>9809f05199aeb0b67991fac41bd86f38730768dc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Updated/added copyright headers</title>
<updated>2011-06-30T15:37:13+00:00</updated>
<author>
<name>Kent Boortz</name>
<email>kent.boortz@oracle.com</email>
</author>
<published>2011-06-30T15:37:13+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=68f00a56868c5ca21b2d51598e1a43969ecf4896'/>
<id>68f00a56868c5ca21b2d51598e1a43969ecf4896</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed bug#58026 - massive recursion and crash in regular expression</title>
<updated>2011-02-04T04:47:46+00:00</updated>
<author>
<name>Dmitry Shulga</name>
<email>Dmitry.Shulga@oracle.com</email>
</author>
<published>2011-02-04T04:47:46+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=378091e434d66dcc7081f991a07db2244dbb8cda'/>
<id>378091e434d66dcc7081f991a07db2244dbb8cda</id>
<content type='text'>
handling.

The problem was that parsing of nested regular expression involved
recursive calls. Such recursion didn't take into account the amount of
available stack space, which ended up leading to stack overflow crashes.

mysql-test/t/not_embedded_server.test:
  Added test for bug#58026.
regex/my_regex.h:
  added pointer to function as last argument of my_regex_init() for check
  enough memory in stack.
regex/regcomp.c:
  p_ere() was modified: added call to function for check enough memory
  in stack. Function for check available stack space specified by
  global variable my_regex_enough_mem_in_stack. This variable set to
  NULL for embedded mysqld and to a pointer to function
  check_enough_stack_size otherwise.
regex/reginit.c:
  my_regex_init was modified: pass a pointer to a function for check
  enough memory in stack space. Reset this pointer to NULL in my_regex_end.
sql/mysqld.cc:
  Added function check_enough_stack_size() for check enough memory in stack.
  Passed this function as second argument to my_regex_init. For embedded 
  mysqld passed NULL as second argument.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
handling.

The problem was that parsing of nested regular expression involved
recursive calls. Such recursion didn't take into account the amount of
available stack space, which ended up leading to stack overflow crashes.

mysql-test/t/not_embedded_server.test:
  Added test for bug#58026.
regex/my_regex.h:
  added pointer to function as last argument of my_regex_init() for check
  enough memory in stack.
regex/regcomp.c:
  p_ere() was modified: added call to function for check enough memory
  in stack. Function for check available stack space specified by
  global variable my_regex_enough_mem_in_stack. This variable set to
  NULL for embedded mysqld and to a pointer to function
  check_enough_stack_size otherwise.
regex/reginit.c:
  my_regex_init was modified: pass a pointer to a function for check
  enough memory in stack space. Reset this pointer to NULL in my_regex_end.
sql/mysqld.cc:
  Added function check_enough_stack_size() for check enough memory in stack.
  Passed this function as second argument to my_regex_init. For embedded 
  mysqld passed NULL as second argument.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge from mysql-5.1 for bug#58026.</title>
<updated>2011-02-04T04:59:55+00:00</updated>
<author>
<name>Dmitry Shulga</name>
<email>Dmitry.Shulga@oracle.com</email>
</author>
<published>2011-02-04T04:59:55+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=4e9e30434e46bb81ed87f2b64652e7431517d1ff'/>
<id>4e9e30434e46bb81ed87f2b64652e7431517d1ff</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>merge.</title>
<updated>2010-11-25T17:17:28+00:00</updated>
<author>
<name>Sergei Golubchik</name>
<email>sergii@pisem.net</email>
</author>
<published>2010-11-25T17:17:28+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mariadb-git.git/commit/?id=65ca700def99289cc31a7040537f5aa6e12bf485'/>
<id>65ca700def99289cc31a7040537f5aa6e12bf485</id>
<content type='text'>
checkpoint.
does not compile.

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
checkpoint.
does not compile.

</pre>
</div>
</content>
</entry>
</feed>
