Segfault on redirect
Status: Inactive
Brought to you by:
toolbutton
If the library parses a file with a redirect in it, it
segfaults. Example, redir.xml:
--------------
<?xml version="1.0"?>
<redirect>
<newLocation>
http://indy/~carlos/atom.xml
</newLocation>
</redirect>
--------------
This happens because the navigator being created in
AtomReader::Init() is bogus
("\nhttp://indy/~carlos/atom.xml\n"), so it becomes
null and it segfaults in AtomFeed::Parse().
Logged In: YES
user_id=1038229
Originator: YES
Actually, that was RSS, but still, Atom.NET will segfault if the received item is not what it expects it to be.