Skip to content
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.

sigsegv #755

Closed
klokane opened this issue Oct 14, 2019 · 0 comments
Closed

sigsegv #755

klokane opened this issue Oct 14, 2019 · 0 comments

Comments

@klokane
Copy link
Contributor

klokane commented Oct 14, 2019

following ADD leads to seg fault

# GET /

+ Response 200 (application/json)

        [
info:
  description: |
    ---
    # Description

Fix: add check of BytesRanges

https://github.com/apiaryio/drafter/blob/master/ext/snowcrash/ext/markdown-parser/src/ByteBuffer.cc#L140

    if (rangeSet.empty()) {
        return characterMap;
    }
klokane added a commit that referenced this issue Oct 15, 2019
kylef added a commit that referenced this issue Oct 16, 2019
@kylef kylef closed this as completed in d609e7f Oct 16, 2019
@kylef kylef mentioned this issue Oct 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant