Skip to content
  • Sachin Agarwal's avatar
    e2a46b48
    Bug #29929684 USING MANY NESTED ARGUMENTS WITH BOOLEAN FTS CAN LEAD · e2a46b48
    Sachin Agarwal authored
    TO TERMINATE SERVER.
    
    Problem:
    Using a large amount of nested sub-expressions in boolean full-text
    search (FTS) can cause a crash.
    
    Analysis:
    For each nested sub-expression, we call fts_ast_visit_sub_exp().
    which is called recursively until it reaches to the last
    sub-expression.
    when we use large number of nested sub-expression in FTS. Because of
    undefined base condition, recursive calls to fts_ast_visit_sub_exp()
    aborts the server with stack overflow error.
    
    Fix:
    Added a limit on number of nested arguments should be allowed in
    fulltext search.
    
    RB: 23443
    Reviewed by : Rahul Agarkar <rahul.agarkar@oracle.com>
    e2a46b48
    Bug #29929684 USING MANY NESTED ARGUMENTS WITH BOOLEAN FTS CAN LEAD
    Sachin Agarwal authored
    TO TERMINATE SERVER.
    
    Problem:
    Using a large amount of nested sub-expressions in boolean full-text
    search (FTS) can cause a crash.
    
    Analysis:
    For each nested sub-expression, we call fts_ast_visit_sub_exp().
    which is called recursively until it reaches to the last
    sub-expression.
    when we use large number of nested sub-expression in FTS. Because of
    undefined base condition, recursive calls to fts_ast_visit_sub_exp()
    aborts the server with stack overflow error.
    
    Fix:
    Added a limit on number of nested arguments should be allowed in
    fulltext search.
    
    RB: 23443
    Reviewed by : Rahul Agarkar <rahul.agarkar@oracle.com>
Loading