subsurface/core
Lubomir I. Ivanov e4a9787c5e dive.h: add handling of NULL in get_dive_dc()
This line:
    dc = &dive->dc
can SIGSEGV for a NULL 'dive' pointer.
return NULL if 'dive' is NULL.

Also handle NULL 'dc' in get_gasmix() and set 'ev' to NULL.

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
2017-10-19 22:03:51 -04:00
..
subsurface-qt
android.cpp android: access() is declared in unistd.h 2017-08-01 13:39:35 -07:00
btdiscovery.cpp BLE: try to enable on iOS 2017-10-14 04:32:50 -07:00
btdiscovery.h mobile: enable switching BT on/off during session. 2017-10-12 09:43:40 +02:00
checkcloudconnection.cpp
checkcloudconnection.h
cloudstorage.cpp
cloudstorage.h
CMakeLists.txt
cochran.c
cochran.h Cochran import: better support for older models 2017-05-31 21:53:00 -07:00
color.cpp
color.h
compressibility.r Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
configuredivecomputer.cpp
configuredivecomputer.h Add SPDX header to remaining core files 2017-04-29 13:32:55 -07:00
configuredivecomputerthreads.cpp
configuredivecomputerthreads.h
connectionlistmodel.cpp Add function to clear connectionModel data 2017-10-12 09:32:12 +02:00
connectionlistmodel.h
datatrak.c
datatrak.h
deco.c
deco.h Assemble global state of planner in a struct 2017-05-26 15:44:36 -07:00
device.c
device.h
devicedetails.cpp
devicedetails.h Implement OSTC4 specific settings 2017-05-04 10:50:15 -07:00
display.h
dive.c
dive.h
divecomputer.cpp
divecomputer.h
divelist.c
divelist.h init_deco correctly identify previous dives and report overlapping dives 2017-10-18 23:19:13 +02:00
divelogexportlogic.cpp
divelogexportlogic.h
divesite.c
divesite.cpp Taxonomy: Don't access empty entries when printing the tags 2017-10-17 06:12:07 -04:00
divesite.h Tags for geo references: Nicer look, translations and warning message 2017-10-17 06:12:07 -04:00
divesitehelpers.cpp Reverse geo lookup string for http://api.geonames.org corrected 2017-10-16 03:43:02 -08:00
divesitehelpers.h
downloadfromdcthread.cpp Fix Android compile error 2017-10-17 10:42:42 +02:00
downloadfromdcthread.h
equipment.c
exif.cpp
exif.h
file.c
file.h
gas-model.c Compute and display gas density 2017-05-26 15:52:04 -07:00
gaspressures.c
gaspressures.h Add SPDX header to remaining core files 2017-04-29 13:32:55 -07:00
gettext.h Add SPDX header to remaining core files 2017-04-29 13:32:55 -07:00
gettextfromc.cpp Add SPDX header to remaining core files 2017-04-29 13:32:55 -07:00
gettextfromc.h
git-access.c Correctly create cloud account from mobile 2017-07-29 08:30:08 -07:00
git-access.h
gpslocation.cpp Use lrint() for all degrees_t related rounding 2017-10-09 13:38:58 +03:00
gpslocation.h Mobile: honour location service time threshold 2017-07-25 22:12:19 +09:00
helpers.h
imagedownloader.cpp Add SPDX header to remaining core files 2017-04-29 13:32:55 -07:00
imagedownloader.h Add SPDX header to remaining core files 2017-04-29 13:32:55 -07:00
isocialnetworkintegration.cpp Add SPDX header to remaining core files 2017-04-29 13:32:55 -07:00
isocialnetworkintegration.h
libdivecomputer.c Save Subsurface version to libdivecomputer logfile 2017-09-28 08:51:34 +02:00
libdivecomputer.h QML UI: add dev_info data to AppLog 2017-07-09 12:50:22 -07:00
linux.c Add SPDX header to core C files 2017-04-29 13:32:55 -07:00
liquivision.c
load-git.c
macos.c
membuffer.c
membuffer.h
metrics.cpp Add SPDX header to remaining core files 2017-04-29 13:32:55 -07:00
metrics.h Add SPDX header to remaining core files 2017-04-29 13:32:55 -07:00
ostctools.c
parse-xml.c
planner.c
planner.h
plannernotes.c
pluginmanager.cpp Add SPDX header to remaining core files 2017-04-29 13:32:55 -07:00
pluginmanager.h
pref.h
prefs-macros.h
profile.c VPM-B profile: calculate parameters when in planner mode 2017-10-08 23:16:40 +02:00
profile.h
qt-ble.cpp
qt-ble.h iOS build: need to more includes 2017-07-19 06:21:23 -07:00
qt-gui.h
qt-init.cpp Don't warn about missing en-US translation for Qt 2017-07-03 13:29:25 -07:00
qthelper.cpp Use lrint() for all degrees_t related rounding 2017-10-09 13:38:58 +03:00
qthelper.h Cache all Buehlmann factors 2017-08-29 06:49:44 -07:00
qthelperfromc.h
qtserialbluetooth.cpp
save-git.c
save-html.c
save-html.h Add SPDX header to core C files 2017-04-29 13:32:55 -07:00
save-xml.c
serial_ftdi.c
sha1.c
sha1.h
statistics.c Refine cylinder usage tests 2017-09-14 07:33:55 +02:00
statistics.h
strndup.h
strtod.c
subsurfacestartup.c Planner prefs: set all ascent rates to 9m/min 2017-09-28 06:11:51 +02:00
subsurfacestartup.h Add SPDX header to core C files 2017-04-29 13:32:55 -07:00
subsurfacesysinfo.cpp
subsurfacesysinfo.h Add SPDX header to remaining core files 2017-04-29 13:32:55 -07:00
taxonomy.c Fix two bugs in taxonomy_set_country 2017-10-07 08:16:53 -07:00
taxonomy.h Add taxonomy helper functions 2017-10-04 08:05:09 -07:00
time.c
uemis-downloader.c Resolve type confusion 2017-07-17 16:50:03 -07:00
uemis.c
uemis.h
units.h
version.c Add SPDX header to remaining core files 2017-04-29 13:32:55 -07:00
version.h
webservice.h
windows.c Add SPDX header to core C files 2017-04-29 13:32:55 -07:00
windowtitleupdate.cpp
windowtitleupdate.h Add SPDX header to remaining core files 2017-04-29 13:32:55 -07:00
worldmap-options.h
worldmap-save.c worldmap-save: don't use an API key 2017-07-30 16:28:30 -07:00
worldmap-save.h Add SPDX header to core C files 2017-04-29 13:32:55 -07:00