Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OGR provider: don't segfault when the layer cannot be retrieved (e.g. datasource with 0 layer) #64

Merged
merged 1 commit into from
Nov 21, 2011

Conversation

rouault
Copy link
Contributor

@rouault rouault commented Nov 20, 2011

This commit checks that the layer retrieved by OGR_DS_GetLayer() or OGR_DS_GetLayerByName() are not NULL. NULL can happen is wrong layer name or index is provided. Or in the case of an empty datasource

timlinux added a commit that referenced this pull request Nov 21, 2011
OGR provider: don't segfault when the layer cannot be retrieved (e.g. datasource with 0 layer)
@timlinux timlinux merged commit c828683 into qgis:master Nov 21, 2011
jef-n pushed a commit that referenced this pull request Dec 22, 2011
- make proj4 string area resizable
- this overriding the cursor messes up the cursor in the Qsplitter etc.
- 4 recent crs's is a little low... make it 8
- fixing the selecting of the non-current crs when dialog shows
alexbruy pushed a commit that referenced this pull request Jan 27, 2012
- make proj4 string area resizable
- this overriding the cursor messes up the cursor in the Qsplitter etc.
- 4 recent crs's is a little low... make it 8
- fixing the selecting of the non-current crs when dialog shows
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants