If this is the file to study trunk/gdal/ogr/ogrutils.cpp then I do not see anything about z==0 that was the part of code that fixed the issue for user halset.
The issue may be fixed and this ticket can be closed but I can't say it for sure.