Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix #9609 (crash with WFS)
  • Loading branch information
wonder-sk committed Jun 23, 2014
1 parent 3e98d7d commit 980b104
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/qgsgml.cpp
Expand Up @@ -393,6 +393,9 @@ void QgsGml::endElement( const XML_Char* el )
//error
}

if ( pointList.count() == 0 )
return; // error

if ( theParseMode == QgsGml::geometry )
{
//directly add WKB point to the feature
Expand Down

0 comments on commit 980b104

Please sign in to comment.