• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

OSGeo / proj.4 / 938
86%

Build:
DEFAULT BRANCH: master
Ran 19 Oct 2017 12:59PM UTC
Jobs 1
Files 197
Run time 7s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
938

push

travis-ci

busstoptaktik
Prevent crashes and leaks on allocation failure (#606)

* 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.

94 of 94 new or added lines in 13 files covered. (100.0%)

11933 of 15838 relevant lines covered (75.34%)

16895.98 hits per line

Uncovered Changes

Lines Coverage ∆ File
23
100.0
src/pj_gc_reader.c
17
100.0
src/mk_cheby.c
13
100.0
src/bch2bps.c
4
100.0
src/pj_datum_set.c
3
100.0
src/pj_fileapi.c
3
100.0
src/pj_init.c
3
100.0
src/pj_pr_list.c
2
100.0
src/PJ_healpix.c
2
100.0
src/pj_gridinfo.c
1
100.0
src/PJ_bonne.c
1
100.0
src/PJ_laea.c
1
100.0
src/pj_strtod.c

Coverage Regressions

Lines Coverage ∆ File
1
100.0
src/bch2bps.c
1
100.0
src/pj_gridinfo.c
Jobs
ID Job ID Ran Files Coverage
1 938.1 (BUILD_NAME=linux_gcc DETAILS="linux, gcc") 19 Oct 2017 12:59PM UTC 0
75.34
Travis Job 938.1
Source Files on build 938
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #938
  • 3ef08376 on github
  • Prev Build on master (#934)
  • Next Build on master (#940)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc