Opened 11 years ago

Closed 11 years ago

#6104 closed Bugs (duplicate)

Illegal Derefence

Reported by: Olaf van der Spek <olafvdspek@…> Owned by: Antony Polukhin
Milestone: To Be Determined Component: lexical_cast
Version: Boost 1.48.0 Severity: Showstopper
Keywords: Cc:

Description

For the record...

This does an illegal dereference in boost\lexical_cast.hpp(1357): if ( Traits::eq(minus,*start) )

#include <boost/lexical_cast.hpp> 
#include <boost/range/iterator_range.hpp> 

int main() 
{ 
        boost::iterator_range<const char*> v; 
        boost::lexical_cast<int>(v); 
} 

Change History (3)

comment:1 by Antony Polukhin, 11 years ago

Owner: changed from nasonov to Antony Polukhin
Status: newassigned

comment:2 by Antony Polukhin, 11 years ago

Duplicates ticket #6083

comment:3 by Antony Polukhin, 11 years ago

Resolution: duplicate
Status: assignedclosed
Note: See TracTickets for help on using tickets.