Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stack-overflow in src/memory/shared_ptr.hpp:187 #3102

Open
puppet-meteor opened this issue May 26, 2020 · 0 comments
Open

stack-overflow in src/memory/shared_ptr.hpp:187 #3102

puppet-meteor opened this issue May 26, 2020 · 0 comments
Labels

Comments

@puppet-meteor
Copy link

puppet-meteor commented May 26, 2020

Version: sassc-3.6.1-8-g3e73 libsass-3.6.3-57-g9515

OS: Ubuntu 16.04 LTS

POC: https://github.com/puppet-meteor/NLP_POC/blob/master/sassc/1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111

cmd: ./sassc POC

ASAN log:

=================================================================
==12224==ERROR: AddressSanitizer: stack-overflow on address 0x7fffff7feff8 (pc 0x000000756a3a bp 0x7fffff7ff070 sp 0x7fffff7ff000 T0)
#0 0x756a39 in Sass::SharedPtr::incRefCount() src/memory/shared_ptr.hpp:187
#1 0x756a39 in Sass::SharedPtr::SharedPtr(Sass::SharedObj*) src/memory/shared_ptr.hpp:126
#2 0x756a39 in Sass::SharedPtr::SharedPtr(Sass::SharedPtr const&) src/memory/shared_ptr.hpp:128
#3 0x756a39 in Sass::SharedImplSass::ComplexSelector::SharedImpl(Sass::SharedImplSass::ComplexSelector const&) src/memory/shared_ptr.hpp:195
#4 0x756a39 in Sass::SelectorList::has_real_parent_ref() const src/ast_selectors.cpp:364
#5 0x756c33 in Sass::PseudoSelector::has_real_parent_ref() const src/ast_selectors.cpp:337
#6 0x755570 in Sass::CompoundSelector::has_real_parent_ref() const src/ast_selectors.cpp:556
#7 0x75676d in Sass::ComplexSelector::has_real_parent_ref() const src/ast_selectors.cpp:464
#8 0x756a3e in Sass::SelectorList::has_real_parent_ref() const src/ast_selectors.cpp:365
#9 0x756c33 in Sass::PseudoSelector::has_real_parent_ref() const src/ast_selectors.cpp:337
#10 0x755570 in Sass::CompoundSelector::has_real_parent_ref() const src/ast_selectors.cpp:556
#11 0x75676d in Sass::ComplexSelector::has_real_parent_ref() const src/ast_selectors.cpp:464
#12 0x756a3e in Sass::SelectorList::has_real_parent_ref() const src/ast_selectors.cpp:365
#13 0x756c33 in Sass::PseudoSelector::has_real_parent_ref() const src/ast_selectors.cpp:337
#14 0x755570 in Sass::CompoundSelector::has_real_parent_ref() const src/ast_selectors.cpp:556
#15 0x75676d in Sass::ComplexSelector::has_real_parent_ref() const src/ast_selectors.cpp:464

..............................
SUMMARY: AddressSanitizer: stack-overflow src/memory/shared_ptr.hpp:187 Sass::SharedPtr::incRefCount()
==12224==ABORTING

@mgreter mgreter added the Fuzzy label Mar 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants