aboutsummaryrefslogtreecommitdiff
path: root/src/pj_fileapi.c
AgeCommit message (Collapse)Author
2018-06-15Do not scan past the end of the read data in pj_ctx_fgetsKurt Schwehr
use-of-uninitialized-value third_party/proj4/proj/src/pj_fileapi.c:pj_ctx_fgets Found with autofuzz msan
2018-06-13whitespace cleanup pj_fileapi.cKurt Schwehr
2018-05-15IWYU: Partial PJ_natearth.c..rtodms.cKurt Schwehr
2018-03-11Remove 'pj_' prefix from static functionsKristian Evers
Functions should only be prefixed with 'pj_' when they can be used in other parts of the code base and not just within a single file. Takes care of the last step in #675.
2018-03-11Remove angle brackets for proj headers (#849)Thomas Knudsen
* Avoid using angle brackets for PROJ headers. Switching from #include <proj.h> to #include "proj.h", and correspondingly for projects.h and proj_api.h, reduces the risk of accidentally picking up a system installed older version of the header while building a new version of PROJ. * Also handle geodesic.h
2017-10-19Prevent crashes and leaks on allocation failure (#606)Aaron Puchert
* Prevent crashes and leaks on allocation failure Memory allocation can fail. We need to gracefully handle this case and prevent dereferencing null pointers. * Make NULL checks consistent within a file * Properly report allocation errors * Improve cleanup in pj_gc_reader.c * Implement pj_strdup and use instead of strdup The function strdup is not part of ANSI C 89, but a POSIX extension. Therefore we can not rely on it being available on all platforms.
2017-02-26Fix warnings related to -Wshadow -Wnull-dereference -Wfloat-conversionr ↵Even Rouault
-Wmissing-prototypes -Wmissing-declarations
2015-05-31Remove unused $Id$ keywords.Elliott Sales de Andrade
2015-05-30Fix signed/unsigned comparison warnings.Elliott Sales de Andrade
2013-06-25fix variable declaration order to be C (and msvc) legalFrank Warmerdam
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2361 4e78687f-474d-0410-85f9-8d5e500ac6b2
2013-06-22add pj_ctx_fgets() implementation (untested)Frank Warmerdam
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2347 4e78687f-474d-0410-85f9-8d5e500ac6b2
2013-06-22preliminary step implementing virtual fileioFrank Warmerdam
git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@2344 4e78687f-474d-0410-85f9-8d5e500ac6b2