<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Just looking at this now: shouldn't the end-of-string check come before we try to read the character? <div><br></div><div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(76, 47, 45); background-color: rgb(223, 219, 196);">+  if (decDigitValue(*D.firstSigDigit) >= 10U || D.firstSigDigit == str.end()) {</div></div><div><br></div><div>If the string is on the end of a page, this could still crash.</div><div><br></div><div>Jordan</div></body></html>