[LLVMbugs] [Bug 22284] New: __split_buffer::__construct_at_end() crashes std::deque::insert() when given forward but non-bidirectional iterators

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jan 21 11:13:19 PST 2015


http://llvm.org/bugs/show_bug.cgi?id=22284

            Bug ID: 22284
           Summary: __split_buffer::__construct_at_end() crashes
                    std::deque::insert() when given forward but
                    non-bidirectional iterators
           Product: libc++
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: dexonsmith at apple.com
                CC: llvmbugs at cs.uiuc.edu, mclow.lists at gmail.com
    Classification: Unclassified

Created attachment 13714
  --> http://llvm.org/bugs/attachment.cgi?id=13714&action=edit
0001-deque-Fix-__split_buffer-__construct_at_end.patch: fix the bug

Patch attached.  I'll attach a testcase that crashes in a moment (patch fixes
it).  I'd post the patch to the list, but I'm not actually sure where to add it
(or even how to run libcxx tests).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150121/65790e4c/attachment.html>


More information about the llvm-bugs mailing list