Closed
Bug 946382
Opened 12 years ago
Closed 12 years ago
RangedPtr::operator* should assert if pointing at the end of the range
Categories
(Core :: MFBT, defect)
Core
MFBT
Tracking
()
RESOLVED
FIXED
mozilla29
People
(Reporter: Waldo, Unassigned)
Details
Attachments
(1 file)
|
587 bytes,
patch
|
Ms2ger
:
review+
|
Details | Diff | Splinter Review |
Amazingly it doesn't right now. Docs are clear that people shouldn't do this. Let's see if they obeyed.
https://tbpl.mozilla.org/?tree=Try&rev=60127ae99ad9
Attachment #8342549 -
Flags: review?(Ms2ger)
Comment 1•12 years ago
|
||
Comment on attachment 8342549 [details] [diff] [review]
Patch
Review of attachment 8342549 [details] [diff] [review]:
-----------------------------------------------------------------
Apparently not: https://tbpl.mozilla.org/php/getParsedLog.php?id=31452114&tree=Try
Attachment #8342549 -
Flags: review?(Ms2ger)
| Reporter | ||
Comment 2•12 years ago
|
||
Comment on attachment 8342549 [details] [diff] [review]
Patch
Fixed the apparent issue (in the "Check for an empty string" rev there, landed in inbound), at least going by preliminary results:
https://tbpl.mozilla.org/?tree=Try&rev=c607bc59df84
Retry?
Attachment #8342549 -
Flags: review?(Ms2ger)
Comment 3•12 years ago
|
||
Comment on attachment 8342549 [details] [diff] [review]
Patch
Review of attachment 8342549 [details] [diff] [review]:
-----------------------------------------------------------------
> Make RangedPtr::operator* assert if the pointer is at the end of its range. NOT REVIEWED YET
I would probably say something like "Make RangedPtr::operator* assert that the pointer is in its range.".
Attachment #8342549 -
Flags: review?(Ms2ger) → review+
| Reporter | ||
Comment 4•12 years ago
|
||
With description change:
https://hg.mozilla.org/integration/mozilla-inbound/rev/57197340e1da
Comment 5•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
You need to log in
before you can comment on or make changes to this bug.
Description
•