Skip to content

Stack overflow caused by recursion in parse_expr #869

@IliaKash1

Description

@IliaKash1

Hello, i have found a stack overflow caused by the recursion in parse_expr becoming too deep. It is resource dependent, so in the described case ulimit -s is 8192.

The problem occurs if the input sequence contains too many brackets, since that leads to recursion entry in pathx.c:2335:

} else if (match(state, '(')) {
parse_expr(state);

Steps to reproduce:

  1. Clone the Augeas repository and build it with the OSS-Fuzz configuration.
    ENV:
export CC='clang'
export CXX='clang++'
export CFLAGS='-fsanitize=address -g -O0'
export CXXFLAGS='-fsanitize=address -g -O0'

OSS-Fuzz harness:

#include "config.h"
#include "augeas.h"
#include "internal.h"
#include "memory.h"
#include "syntax.h"
#include "transform.h"
#include "errcode.h"


#include <fnmatch.h>
#include <argz.h>
#include <string.h>
#include <stdarg.h>
#include <locale.h>



extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
        if(size<3){
                return 0;
        }

        char *loadpath = NULL;
        const char *value;
        const char *label;
        char *new_str = (char *)malloc(size+1);
        if (new_str == NULL){
                return 0;
        }
        memcpy(new_str, data, size);
        new_str[size] = '\0';

        struct augeas *aug = aug_init(new_str, loadpath, AUG_NO_STDINC|AUG_NO_LOAD);
        aug_defvar(aug, new_str, &new_str[1]);
        aug_get(aug, new_str, &value);
        aug_label(aug, new_str, &label);

        aug_rename(aug, new_str, &new_str[1]);
        aug_text_store(aug, &new_str[1], new_str, &new_str[2]);
        aug_print(aug, stdout, new_str);
        aug_setm(aug, new_str, NULL, &new_str[1]);

        free(new_str);
        aug_close(aug);
        return 0;
}
  1. Compile the fuzzer.
clang++ -fsanitize=address,fuzzer -g -O0 -std=c++11 -Isrc/ `xml2-config --cflags` augeas_api_fuzzer.cc -o ./api src/.libs/libaugeas.a src/.libs/libfa.a ./gnulib/lib/.libs/libgnu.a /usr/lib/x86_64-linux-gnu/libxml2.a
  1. Run the fuzzer with the provided input. stack_overflow_input.zip
./api ./stack_overflow_input

Report:

AddressSanitizer:DEADLYSIGNAL
=================================================================
==22==ERROR: AddressSanitizer: stack-overflow on address 0x7ffe5f16def8 (pc 0x630dce9f9df9 bp 0x7ffe5f16e740 sp 0x7ffe5f16df00 T0)
    #0 0x630dce9f9df9 in index (/augeas-ASAN/api+0xfcdf9) (BuildId: 4f11d14d4e20e3897a0e277cb262952edcaa393d)
    #1 0x630dceb11b19 in peek /augeas-ASAN/src/pathx.c:1764:12
    #2 0x630dceb0e7f3 in looking_at_primary_expr /augeas-ASAN/src/pathx.c:2351:9
    #3 0x630dceb0d855 in parse_path_expr /augeas-ASAN/src/pathx.c:2382:9
    #4 0x630dceb0d421 in parse_union_expr /augeas-ASAN/src/pathx.c:2442:5
    #5 0x630dceb0d141 in parse_multiplicative_expr /augeas-ASAN/src/pathx.c:2455:5
    #6 0x630dceb0ca34 in parse_additive_expr /augeas-ASAN/src/pathx.c:2469:5
    #7 0x630dceb0c114 in parse_relational_expr /augeas-ASAN/src/pathx.c:2486:5
    #8 0x630dceb0b1a4 in parse_equality_expr /augeas-ASAN/src/pathx.c:2509:5
    #9 0x630dceb0ab41 in parse_and_expr /augeas-ASAN/src/pathx.c:2533:5
    #10 0x630dceb09861 in parse_or_expr /augeas-ASAN/src/pathx.c:2549:5
    #11 0x630dceb09051 in parse_else_expr /augeas-ASAN/src/pathx.c:2564:5
    #12 0x630dceb0888c in parse_expr /augeas-ASAN/src/pathx.c:2582:5
    #13 0x630dceb0f033 in parse_primary_expr /augeas-ASAN/src/pathx.c:2335:9
    #14 0x630dceb0d874 in parse_path_expr /augeas-ASAN/src/pathx.c:2383:9
    #15 0x630dceb0d421 in parse_union_expr /augeas-ASAN/src/pathx.c:2442:5
    #16 0x630dceb0d141 in parse_multiplicative_expr /augeas-ASAN/src/pathx.c:2455:5
    #17 0x630dceb0ca34 in parse_additive_expr /augeas-ASAN/src/pathx.c:2469:5
    #18 0x630dceb0c114 in parse_relational_expr /augeas-ASAN/src/pathx.c:2486:5
    #19 0x630dceb0b1a4 in parse_equality_expr /augeas-ASAN/src/pathx.c:2509:5
    #20 0x630dceb0ab41 in parse_and_expr /augeas-ASAN/src/pathx.c:2533:5
    #21 0x630dceb09861 in parse_or_expr /augeas-ASAN/src/pathx.c:2549:5
    #22 0x630dceb09051 in parse_else_expr /augeas-ASAN/src/pathx.c:2564:5
    #23 0x630dceb0888c in parse_expr /augeas-ASAN/src/pathx.c:2582:5
    #24 0x630dceb0f033 in parse_primary_expr /augeas-ASAN/src/pathx.c:2335:9
    #25 0x630dceb0d874 in parse_path_expr /augeas-ASAN/src/pathx.c:2383:9
    #26 0x630dceb0d421 in parse_union_expr /augeas-ASAN/src/pathx.c:2442:5
    #27 0x630dceb0d141 in parse_multiplicative_expr /augeas-ASAN/src/pathx.c:2455:5
    #28 0x630dceb0ca34 in parse_additive_expr /augeas-ASAN/src/pathx.c:2469:5
    #29 0x630dceb0c114 in parse_relational_expr /augeas-ASAN/src/pathx.c:2486:5
    #30 0x630dceb0b1a4 in parse_equality_expr /augeas-ASAN/src/pathx.c:2509:5
    #31 0x630dceb0ab41 in parse_and_expr /augeas-ASAN/src/pathx.c:2533:5
    #32 0x630dceb09861 in parse_or_expr /augeas-ASAN/src/pathx.c:2549:5
    #33 0x630dceb09051 in parse_else_expr /augeas-ASAN/src/pathx.c:2564:5
    #34 0x630dceb0888c in parse_expr /augeas-ASAN/src/pathx.c:2582:5
    #35 0x630dceb0f033 in parse_primary_expr /augeas-ASAN/src/pathx.c:2335:9
    #36 0x630dceb0d874 in parse_path_expr /augeas-ASAN/src/pathx.c:2383:9
    #37 0x630dceb0d421 in parse_union_expr /augeas-ASAN/src/pathx.c:2442:5
    #38 0x630dceb0d141 in parse_multiplicative_expr /augeas-ASAN/src/pathx.c:2455:5
    #39 0x630dceb0ca34 in parse_additive_expr /augeas-ASAN/src/pathx.c:2469:5
    #40 0x630dceb0c114 in parse_relational_expr /augeas-ASAN/src/pathx.c:2486:5
    #41 0x630dceb0b1a4 in parse_equality_expr /augeas-ASAN/src/pathx.c:2509:5
    #42 0x630dceb0ab41 in parse_and_expr /augeas-ASAN/src/pathx.c:2533:5
    #43 0x630dceb09861 in parse_or_expr /augeas-ASAN/src/pathx.c:2549:5
    #44 0x630dceb09051 in parse_else_expr /augeas-ASAN/src/pathx.c:2564:5
    #45 0x630dceb0888c in parse_expr /augeas-ASAN/src/pathx.c:2582:5
    #46 0x630dceb0f033 in parse_primary_expr /augeas-ASAN/src/pathx.c:2335:9
    #47 0x630dceb0d874 in parse_path_expr /augeas-ASAN/src/pathx.c:2383:9
    #48 0x630dceb0d421 in parse_union_expr /augeas-ASAN/src/pathx.c:2442:5
    #49 0x630dceb0d141 in parse_multiplicative_expr /augeas-ASAN/src/pathx.c:2455:5
    #50 0x630dceb0ca34 in parse_additive_expr /augeas-ASAN/src/pathx.c:2469:5
    #51 0x630dceb0c114 in parse_relational_expr /augeas-ASAN/src/pathx.c:2486:5
    #52 0x630dceb0b1a4 in parse_equality_expr /augeas-ASAN/src/pathx.c:2509:5
    #53 0x630dceb0ab41 in parse_and_expr /augeas-ASAN/src/pathx.c:2533:5
    #54 0x630dceb09861 in parse_or_expr /augeas-ASAN/src/pathx.c:2549:5
    #55 0x630dceb09051 in parse_else_expr /augeas-ASAN/src/pathx.c:2564:5
    #56 0x630dceb0888c in parse_expr /augeas-ASAN/src/pathx.c:2582:5
    #57 0x630dceb0f033 in parse_primary_expr /augeas-ASAN/src/pathx.c:2335:9
    #58 0x630dceb0d874 in parse_path_expr /augeas-ASAN/src/pathx.c:2383:9
    #59 0x630dceb0d421 in parse_union_expr /augeas-ASAN/src/pathx.c:2442:5
    #60 0x630dceb0d141 in parse_multiplicative_expr /augeas-ASAN/src/pathx.c:2455:5
    #61 0x630dceb0ca34 in parse_additive_expr /augeas-ASAN/src/pathx.c:2469:5
    #62 0x630dceb0c114 in parse_relational_expr /augeas-ASAN/src/pathx.c:2486:5
    #63 0x630dceb0b1a4 in parse_equality_expr /augeas-ASAN/src/pathx.c:2509:5
    #64 0x630dceb0ab41 in parse_and_expr /augeas-ASAN/src/pathx.c:2533:5
    #65 0x630dceb09861 in parse_or_expr /augeas-ASAN/src/pathx.c:2549:5
    #66 0x630dceb09051 in parse_else_expr /augeas-ASAN/src/pathx.c:2564:5
    #67 0x630dceb0888c in parse_expr /augeas-ASAN/src/pathx.c:2582:5
    #68 0x630dceb0f033 in parse_primary_expr /augeas-ASAN/src/pathx.c:2335:9
    #69 0x630dceb0d874 in parse_path_expr /augeas-ASAN/src/pathx.c:2383:9
    #70 0x630dceb0d421 in parse_union_expr /augeas-ASAN/src/pathx.c:2442:5
    #71 0x630dceb0d141 in parse_multiplicative_expr /augeas-ASAN/src/pathx.c:2455:5
    #72 0x630dceb0ca34 in parse_additive_expr /augeas-ASAN/src/pathx.c:2469:5
    #73 0x630dceb0c114 in parse_relational_expr /augeas-ASAN/src/pathx.c:2486:5
    #74 0x630dceb0b1a4 in parse_equality_expr /augeas-ASAN/src/pathx.c:2509:5
    #75 0x630dceb0ab41 in parse_and_expr /augeas-ASAN/src/pathx.c:2533:5
    #76 0x630dceb09861 in parse_or_expr /augeas-ASAN/src/pathx.c:2549:5
    #77 0x630dceb09051 in parse_else_expr /augeas-ASAN/src/pathx.c:2564:5
    #78 0x630dceb0888c in parse_expr /augeas-ASAN/src/pathx.c:2582:5
    #79 0x630dceb0f033 in parse_primary_expr /augeas-ASAN/src/pathx.c:2335:9
    #80 0x630dceb0d874 in parse_path_expr /augeas-ASAN/src/pathx.c:2383:9
    #81 0x630dceb0d421 in parse_union_expr /augeas-ASAN/src/pathx.c:2442:5
    #82 0x630dceb0d141 in parse_multiplicative_expr /augeas-ASAN/src/pathx.c:2455:5
    #83 0x630dceb0ca34 in parse_additive_expr /augeas-ASAN/src/pathx.c:2469:5
    #84 0x630dceb0c114 in parse_relational_expr /augeas-ASAN/src/pathx.c:2486:5
    #85 0x630dceb0b1a4 in parse_equality_expr /augeas-ASAN/src/pathx.c:2509:5
    #86 0x630dceb0ab41 in parse_and_expr /augeas-ASAN/src/pathx.c:2533:5
    #87 0x630dceb09861 in parse_or_expr /augeas-ASAN/src/pathx.c:2549:5
    #88 0x630dceb09051 in parse_else_expr /augeas-ASAN/src/pathx.c:2564:5
    #89 0x630dceb0888c in parse_expr /augeas-ASAN/src/pathx.c:2582:5
    #90 0x630dceb0f033 in parse_primary_expr /augeas-ASAN/src/pathx.c:2335:9
    #91 0x630dceb0d874 in parse_path_expr /augeas-ASAN/src/pathx.c:2383:9
    #92 0x630dceb0d421 in parse_union_expr /augeas-ASAN/src/pathx.c:2442:5
    #93 0x630dceb0d141 in parse_multiplicative_expr /augeas-ASAN/src/pathx.c:2455:5
    #94 0x630dceb0ca34 in parse_additive_expr /augeas-ASAN/src/pathx.c:2469:5
    #95 0x630dceb0c114 in parse_relational_expr /augeas-ASAN/src/pathx.c:2486:5
    #96 0x630dceb0b1a4 in parse_equality_expr /augeas-ASAN/src/pathx.c:2509:5
    #97 0x630dceb0ab41 in parse_and_expr /augeas-ASAN/src/pathx.c:2533:5
    #98 0x630dceb09861 in parse_or_expr /augeas-ASAN/src/pathx.c:2549:5
    #99 0x630dceb09051 in parse_else_expr /augeas-ASAN/src/pathx.c:2564:5
    #100 0x630dceb0888c in parse_expr /augeas-ASAN/src/pathx.c:2582:5
    #101 0x630dceb0f033 in parse_primary_expr /augeas-ASAN/src/pathx.c:2335:9
    #102 0x630dceb0d874 in parse_path_expr /augeas-ASAN/src/pathx.c:2383:9
    #103 0x630dceb0d421 in parse_union_expr /augeas-ASAN/src/pathx.c:2442:5
    #104 0x630dceb0d141 in parse_multiplicative_expr /augeas-ASAN/src/pathx.c:2455:5
    #105 0x630dceb0ca34 in parse_additive_expr /augeas-ASAN/src/pathx.c:2469:5
    #106 0x630dceb0c114 in parse_relational_expr /augeas-ASAN/src/pathx.c:2486:5
    #107 0x630dceb0b1a4 in parse_equality_expr /augeas-ASAN/src/pathx.c:2509:5
    #108 0x630dceb0ab41 in parse_and_expr /augeas-ASAN/src/pathx.c:2533:5
    #109 0x630dceb09861 in parse_or_expr /augeas-ASAN/src/pathx.c:2549:5
    #110 0x630dceb09051 in parse_else_expr /augeas-ASAN/src/pathx.c:2564:5
    #111 0x630dceb0888c in parse_expr /augeas-ASAN/src/pathx.c:2582:5
    #112 0x630dceb0f033 in parse_primary_expr /augeas-ASAN/src/pathx.c:2335:9
    #113 0x630dceb0d874 in parse_path_expr /augeas-ASAN/src/pathx.c:2383:9
    #114 0x630dceb0d421 in parse_union_expr /augeas-ASAN/src/pathx.c:2442:5
    #115 0x630dceb0d141 in parse_multiplicative_expr /augeas-ASAN/src/pathx.c:2455:5
    #116 0x630dceb0ca34 in parse_additive_expr /augeas-ASAN/src/pathx.c:2469:5
    #117 0x630dceb0c114 in parse_relational_expr /augeas-ASAN/src/pathx.c:2486:5
    #118 0x630dceb0b1a4 in parse_equality_expr /augeas-ASAN/src/pathx.c:2509:5
    #119 0x630dceb0ab41 in parse_and_expr /augeas-ASAN/src/pathx.c:2533:5
    #120 0x630dceb09861 in parse_or_expr /augeas-ASAN/src/pathx.c:2549:5
    #121 0x630dceb09051 in parse_else_expr /augeas-ASAN/src/pathx.c:2564:5
    #122 0x630dceb0888c in parse_expr /augeas-ASAN/src/pathx.c:2582:5
    #123 0x630dceb0f033 in parse_primary_expr /augeas-ASAN/src/pathx.c:2335:9
    #124 0x630dceb0d874 in parse_path_expr /augeas-ASAN/src/pathx.c:2383:9
    #125 0x630dceb0d421 in parse_union_expr /augeas-ASAN/src/pathx.c:2442:5
    #126 0x630dceb0d141 in parse_multiplicative_expr /augeas-ASAN/src/pathx.c:2455:5
    #127 0x630dceb0ca34 in parse_additive_expr /augeas-ASAN/src/pathx.c:2469:5
    #128 0x630dceb0c114 in parse_relational_expr /augeas-ASAN/src/pathx.c:2486:5
    #129 0x630dceb0b1a4 in parse_equality_expr /augeas-ASAN/src/pathx.c:2509:5
    #130 0x630dceb0ab41 in parse_and_expr /augeas-ASAN/src/pathx.c:2533:5
    #131 0x630dceb09861 in parse_or_expr /augeas-ASAN/src/pathx.c:2549:5
    #132 0x630dceb09051 in parse_else_expr /augeas-ASAN/src/pathx.c:2564:5
    #133 0x630dceb0888c in parse_expr /augeas-ASAN/src/pathx.c:2582:5
    #134 0x630dceb0f033 in parse_primary_expr /augeas-ASAN/src/pathx.c:2335:9
    #135 0x630dceb0d874 in parse_path_expr /augeas-ASAN/src/pathx.c:2383:9
    #136 0x630dceb0d421 in parse_union_expr /augeas-ASAN/src/pathx.c:2442:5
    #137 0x630dceb0d141 in parse_multiplicative_expr /augeas-ASAN/src/pathx.c:2455:5
    #138 0x630dceb0ca34 in parse_additive_expr /augeas-ASAN/src/pathx.c:2469:5
    #139 0x630dceb0c114 in parse_relational_expr /augeas-ASAN/src/pathx.c:2486:5
    #140 0x630dceb0b1a4 in parse_equality_expr /augeas-ASAN/src/pathx.c:2509:5
    #141 0x630dceb0ab41 in parse_and_expr /augeas-ASAN/src/pathx.c:2533:5
    #142 0x630dceb09861 in parse_or_expr /augeas-ASAN/src/pathx.c:2549:5
    #143 0x630dceb09051 in parse_else_expr /augeas-ASAN/src/pathx.c:2564:5
    #144 0x630dceb0888c in parse_expr /augeas-ASAN/src/pathx.c:2582:5
    #145 0x630dceb0f033 in parse_primary_expr /augeas-ASAN/src/pathx.c:2335:9
    #146 0x630dceb0d874 in parse_path_expr /augeas-ASAN/src/pathx.c:2383:9
    #147 0x630dceb0d421 in parse_union_expr /augeas-ASAN/src/pathx.c:2442:5
    #148 0x630dceb0d141 in parse_multiplicative_expr /augeas-ASAN/src/pathx.c:2455:5
    #149 0x630dceb0ca34 in parse_additive_expr /augeas-ASAN/src/pathx.c:2469:5
    #150 0x630dceb0c114 in parse_relational_expr /augeas-ASAN/src/pathx.c:2486:5
    #151 0x630dceb0b1a4 in parse_equality_expr /augeas-ASAN/src/pathx.c:2509:5
    #152 0x630dceb0ab41 in parse_and_expr /augeas-ASAN/src/pathx.c:2533:5
    #153 0x630dceb09861 in parse_or_expr /augeas-ASAN/src/pathx.c:2549:5
    #154 0x630dceb09051 in parse_else_expr /augeas-ASAN/src/pathx.c:2564:5
    #155 0x630dceb0888c in parse_expr /augeas-ASAN/src/pathx.c:2582:5
    #156 0x630dceb0f033 in parse_primary_expr /augeas-ASAN/src/pathx.c:2335:9
    #157 0x630dceb0d874 in parse_path_expr /augeas-ASAN/src/pathx.c:2383:9
    #158 0x630dceb0d421 in parse_union_expr /augeas-ASAN/src/pathx.c:2442:5
    #159 0x630dceb0d141 in parse_multiplicative_expr /augeas-ASAN/src/pathx.c:2455:5
    #160 0x630dceb0ca34 in parse_additive_expr /augeas-ASAN/src/pathx.c:2469:5
    #161 0x630dceb0c114 in parse_relational_expr /augeas-ASAN/src/pathx.c:2486:5
    #162 0x630dceb0b1a4 in parse_equality_expr /augeas-ASAN/src/pathx.c:2509:5
    #163 0x630dceb0ab41 in parse_and_expr /augeas-ASAN/src/pathx.c:2533:5
    #164 0x630dceb09861 in parse_or_expr /augeas-ASAN/src/pathx.c:2549:5
    #165 0x630dceb09051 in parse_else_expr /augeas-ASAN/src/pathx.c:2564:5
    #166 0x630dceb0888c in parse_expr /augeas-ASAN/src/pathx.c:2582:5
    #167 0x630dceb0f033 in parse_primary_expr /augeas-ASAN/src/pathx.c:2335:9
    #168 0x630dceb0d874 in parse_path_expr /augeas-ASAN/src/pathx.c:2383:9
    #169 0x630dceb0d421 in parse_union_expr /augeas-ASAN/src/pathx.c:2442:5
    #170 0x630dceb0d141 in parse_multiplicative_expr /augeas-ASAN/src/pathx.c:2455:5
    #171 0x630dceb0ca34 in parse_additive_expr /augeas-ASAN/src/pathx.c:2469:5
    #172 0x630dceb0c114 in parse_relational_expr /augeas-ASAN/src/pathx.c:2486:5
    #173 0x630dceb0b1a4 in parse_equality_expr /augeas-ASAN/src/pathx.c:2509:5
    #174 0x630dceb0ab41 in parse_and_expr /augeas-ASAN/src/pathx.c:2533:5
    #175 0x630dceb09861 in parse_or_expr /augeas-ASAN/src/pathx.c:2549:5
    #176 0x630dceb09051 in parse_else_expr /augeas-ASAN/src/pathx.c:2564:5
    #177 0x630dceb0888c in parse_expr /augeas-ASAN/src/pathx.c:2582:5
    #178 0x630dceb0f033 in parse_primary_expr /augeas-ASAN/src/pathx.c:2335:9
    #179 0x630dceb0d874 in parse_path_expr /augeas-ASAN/src/pathx.c:2383:9
    #180 0x630dceb0d421 in parse_union_expr /augeas-ASAN/src/pathx.c:2442:5
    #181 0x630dceb0d141 in parse_multiplicative_expr /augeas-ASAN/src/pathx.c:2455:5
    #182 0x630dceb0ca34 in parse_additive_expr /augeas-ASAN/src/pathx.c:2469:5
    #183 0x630dceb0c114 in parse_relational_expr /augeas-ASAN/src/pathx.c:2486:5
    #184 0x630dceb0b1a4 in parse_equality_expr /augeas-ASAN/src/pathx.c:2509:5
    #185 0x630dceb0ab41 in parse_and_expr /augeas-ASAN/src/pathx.c:2533:5
    #186 0x630dceb09861 in parse_or_expr /augeas-ASAN/src/pathx.c:2549:5
    #187 0x630dceb09051 in parse_else_expr /augeas-ASAN/src/pathx.c:2564:5
    #188 0x630dceb0888c in parse_expr /augeas-ASAN/src/pathx.c:2582:5
    #189 0x630dceb0f033 in parse_primary_expr /augeas-ASAN/src/pathx.c:2335:9
    #190 0x630dceb0d874 in parse_path_expr /augeas-ASAN/src/pathx.c:2383:9
    #191 0x630dceb0d421 in parse_union_expr /augeas-ASAN/src/pathx.c:2442:5
    #192 0x630dceb0d141 in parse_multiplicative_expr /augeas-ASAN/src/pathx.c:2455:5
    #193 0x630dceb0ca34 in parse_additive_expr /augeas-ASAN/src/pathx.c:2469:5
    #194 0x630dceb0c114 in parse_relational_expr /augeas-ASAN/src/pathx.c:2486:5
    #195 0x630dceb0b1a4 in parse_equality_expr /augeas-ASAN/src/pathx.c:2509:5
    #196 0x630dceb0ab41 in parse_and_expr /augeas-ASAN/src/pathx.c:2533:5
    #197 0x630dceb09861 in parse_or_expr /augeas-ASAN/src/pathx.c:2549:5
    #198 0x630dceb09051 in parse_else_expr /augeas-ASAN/src/pathx.c:2564:5
    #199 0x630dceb0888c in parse_expr /augeas-ASAN/src/pathx.c:2582:5
    #200 0x630dceb0f033 in parse_primary_expr /augeas-ASAN/src/pathx.c:2335:9
    #201 0x630dceb0d874 in parse_path_expr /augeas-ASAN/src/pathx.c:2383:9
    #202 0x630dceb0d421 in parse_union_expr /augeas-ASAN/src/pathx.c:2442:5
    #203 0x630dceb0d141 in parse_multiplicative_expr /augeas-ASAN/src/pathx.c:2455:5
    #204 0x630dceb0ca34 in parse_additive_expr /augeas-ASAN/src/pathx.c:2469:5
    #205 0x630dceb0c114 in parse_relational_expr /augeas-ASAN/src/pathx.c:2486:5
    #206 0x630dceb0b1a4 in parse_equality_expr /augeas-ASAN/src/pathx.c:2509:5
    #207 0x630dceb0ab41 in parse_and_expr /augeas-ASAN/src/pathx.c:2533:5
    #208 0x630dceb09861 in parse_or_expr /augeas-ASAN/src/pathx.c:2549:5
    #209 0x630dceb09051 in parse_else_expr /augeas-ASAN/src/pathx.c:2564:5
    #210 0x630dceb0888c in parse_expr /augeas-ASAN/src/pathx.c:2582:5
    #211 0x630dceb0f033 in parse_primary_expr /augeas-ASAN/src/pathx.c:2335:9
    #212 0x630dceb0d874 in parse_path_expr /augeas-ASAN/src/pathx.c:2383:9
    #213 0x630dceb0d421 in parse_union_expr /augeas-ASAN/src/pathx.c:2442:5
    #214 0x630dceb0d141 in parse_multiplicative_expr /augeas-ASAN/src/pathx.c:2455:5
    #215 0x630dceb0ca34 in parse_additive_expr /augeas-ASAN/src/pathx.c:2469:5
    #216 0x630dceb0c114 in parse_relational_expr /augeas-ASAN/src/pathx.c:2486:5
    #217 0x630dceb0b1a4 in parse_equality_expr /augeas-ASAN/src/pathx.c:2509:5
    #218 0x630dceb0ab41 in parse_and_expr /augeas-ASAN/src/pathx.c:2533:5
    #219 0x630dceb09861 in parse_or_expr /augeas-ASAN/src/pathx.c:2549:5
    #220 0x630dceb09051 in parse_else_expr /augeas-ASAN/src/pathx.c:2564:5
    #221 0x630dceb0888c in parse_expr /augeas-ASAN/src/pathx.c:2582:5
    #222 0x630dceb0f033 in parse_primary_expr /augeas-ASAN/src/pathx.c:2335:9
    #223 0x630dceb0d874 in parse_path_expr /augeas-ASAN/src/pathx.c:2383:9
    #224 0x630dceb0d421 in parse_union_expr /augeas-ASAN/src/pathx.c:2442:5
    #225 0x630dceb0d141 in parse_multiplicative_expr /augeas-ASAN/src/pathx.c:2455:5
    #226 0x630dceb0ca34 in parse_additive_expr /augeas-ASAN/src/pathx.c:2469:5
    #227 0x630dceb0c114 in parse_relational_expr /augeas-ASAN/src/pathx.c:2486:5
    #228 0x630dceb0b1a4 in parse_equality_expr /augeas-ASAN/src/pathx.c:2509:5
    #229 0x630dceb0ab41 in parse_and_expr /augeas-ASAN/src/pathx.c:2533:5
    #230 0x630dceb09861 in parse_or_expr /augeas-ASAN/src/pathx.c:2549:5
    #231 0x630dceb09051 in parse_else_expr /augeas-ASAN/src/pathx.c:2564:5
    #232 0x630dceb0888c in parse_expr /augeas-ASAN/src/pathx.c:2582:5
    #233 0x630dceb0f033 in parse_primary_expr /augeas-ASAN/src/pathx.c:2335:9
    #234 0x630dceb0d874 in parse_path_expr /augeas-ASAN/src/pathx.c:2383:9
    #235 0x630dceb0d421 in parse_union_expr /augeas-ASAN/src/pathx.c:2442:5
    #236 0x630dceb0d141 in parse_multiplicative_expr /augeas-ASAN/src/pathx.c:2455:5
    #237 0x630dceb0ca34 in parse_additive_expr /augeas-ASAN/src/pathx.c:2469:5
    #238 0x630dceb0c114 in parse_relational_expr /augeas-ASAN/src/pathx.c:2486:5
    #239 0x630dceb0b1a4 in parse_equality_expr /augeas-ASAN/src/pathx.c:2509:5
    #240 0x630dceb0ab41 in parse_and_expr /augeas-ASAN/src/pathx.c:2533:5
    #241 0x630dceb09861 in parse_or_expr /augeas-ASAN/src/pathx.c:2549:5
    #242 0x630dceb09051 in parse_else_expr /augeas-ASAN/src/pathx.c:2564:5
    #243 0x630dceb0888c in parse_expr /augeas-ASAN/src/pathx.c:2582:5
    #244 0x630dceb0f033 in parse_primary_expr /augeas-ASAN/src/pathx.c:2335:9
    #245 0x630dceb0d874 in parse_path_expr /augeas-ASAN/src/pathx.c:2383:9
    #246 0x630dceb0d421 in parse_union_expr /augeas-ASAN/src/pathx.c:2442:5

SUMMARY: AddressSanitizer: stack-overflow (/augeas-ASAN/api+0xfcdf9) (BuildId: 4f11d14d4e20e3897a0e277cb262952edcaa393d) in index

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions