"# Radiated 1G-6G\nMeasured in GTEM using 12 Faces Method.\n<foo>\n## Results\n![Measurement Result](MeasurementResult)\n\n<Peaklist>\n<bar>\n\n## Observation\nNo relevant emissions other than radio transmissions.\n\n## Images\n"
<foo> does not harm (for some reason).
<Peaklist> gets replaced with some table. If this fails, it seg-faults.
To verify this, I added <bar>. This also seg-faults.
Closing the tag removes the seg-fault.
Just for reference, I opted to use "<...>" for my custom tags... those get (mostly) replaced by some MD data.
seg-fault happens here:
template< class Trait >
inline typename Delims< Trait >::const_iterator
finishRule7HtmlTag( typename Delims< Trait >::const_iterator it,
typename Delims< Trait >::const_iterator last,
TextParsingOpts< Trait > & po )
{
const auto start = it;
long long int l = -1, p = -1;
bool onLine = false;
bool ok = false;
std::tie( ok, l, p, onLine, std::ignore ) = isHtmlTag( it->m_line, it->m_pos,
po, 7 );
Locals:
Lokale Variablen
it @0x7fffffffb048 QList::const_iterator
l -1 long long
last @0x7fffffffb040 QList::const_iterator
ok false bool
onLine false bool
p -1 long long
po @0x7fffffffb210 MD::TextParsingOpts &
start @0x7fffffffb058 QList::const_iterator
Parsing following string causes a segfault:
"# Radiated 1G-6G\nMeasured in GTEM using 12 Faces Method.\n<foo>\n## Results\n![Measurement Result](MeasurementResult)\n\n<Peaklist>\n<bar>\n\n## Observation\nNo relevant emissions other than radio transmissions.\n\n## Images\n"
<foo>
does not harm (for some reason).<Peaklist>
gets replaced with some table. If this fails, it seg-faults. To verify this, I added<bar>
. This also seg-faults.Closing the tag removes the seg-fault. Just for reference, I opted to use "<...>" for my custom tags... those get (mostly) replaced by some MD data.
seg-fault happens here:
Locals:
Callstack: