subsurface/desktop-widgets
Linus Torvalds effad4b2c8 Fix seabear import sample overrun bug
The Seabear import fixed up the NDL and TTS in the samples from minutes
(in the import) to seconds (our internal format for all time).  But it
did it with a loop that overran the end of the samples array by one:

	for(int s_nr = 0 ; s_nr <= dive->dc.samples ; s_nr++) {

Fix it to use the proper "<" instead of "<=".

Reported-by: Stuart Vernon <stuartv@force2.net>
Tested-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-04-11 12:23:05 -07:00
..
css Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
marble Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
plugins Fix compilation with the new folder architecture 2016-04-05 12:32:36 -07:00
preferences Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
statistics Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
about.cpp Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
about.h Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
about.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
btdeviceselectiondialog.cpp btdeviceselectiondialog.cpp: fix unused variable 2015-11-07 22:22:41 +02:00
btdeviceselectiondialog.h Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
btdeviceselectiondialog.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
CMakeLists.txt Don't rely on CMAKE_AUTOUIC 2015-11-09 18:00:56 -08:00
configuredivecomputerdialog.cpp Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
configuredivecomputerdialog.h Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
configuredivecomputerdialog.ui configure OSTC/OSTC3: Add safety stop parameters 2016-01-22 06:50:22 -08:00
divecomponentselection.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
divecomputermanagementdialog.cpp Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
divecomputermanagementdialog.h Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
divecomputermanagementdialog.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
divelistview.cpp Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
divelistview.h Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
divelogexportdialog.cpp Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
divelogexportdialog.h Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
divelogexportdialog.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
divelogimportdialog.cpp Fix seabear import sample overrun bug 2016-04-11 12:23:05 -07:00
divelogimportdialog.h Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
divelogimportdialog.ui Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
divepicturewidget.cpp Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
divepicturewidget.h Drag and Drop Images 2015-11-24 09:22:16 -08:00
diveplanner.cpp Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
diveplanner.h Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
diveplanner.ui Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
diveshareexportdialog.cpp Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
diveshareexportdialog.h Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
diveshareexportdialog.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
downloadfromdivecomputer.cpp Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
downloadfromdivecomputer.h Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
downloadfromdivecomputer.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
filterwidget.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
globe.cpp Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
globe.h Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
groupedlineedit.cpp Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
groupedlineedit.h Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
kmessagewidget.cpp Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
kmessagewidget.h Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
listfilter.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
locationinformation.cpp Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
locationinformation.h Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
locationInformation.ui Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
maintab.cpp Make gas change events always have a cylinder index 2016-04-04 22:37:18 -07:00
maintab.h Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
maintab.ui Fix include paths 2016-04-05 09:40:58 -07:00
mainwindow.cpp Desktop UI: make sure that git progress is actually shown 2016-04-05 23:43:17 -07:00
mainwindow.h Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
mainwindow.ui Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
modeldelegates.cpp Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
modeldelegates.h modeldelegates: remove printing related delegates 2015-11-10 09:08:16 -08:00
notificationwidget.cpp Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
notificationwidget.h Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
plannerDetails.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
plannerSettings.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
printdialog.cpp Silence warnings in printdialog.cpp 2016-03-09 21:50:37 -08:00
printdialog.h Lazy Initialize QPrinter 2016-01-08 08:04:58 -08:00
printer.cpp Fix include paths 2016-04-05 09:40:58 -07:00
printer.h Move Profile widget out of desktop-widgets 2015-10-30 10:36:49 -07:00
printoptions.cpp Fix include paths 2016-04-05 09:40:58 -07:00
printoptions.h Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
printoptions.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
qtwaitingspinner.cpp Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
qtwaitingspinner.h Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
renumber.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
searchbar.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
setpoint.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
shiftimagetimes.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
shifttimes.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
simplewidgets.cpp Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
simplewidgets.h Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
starwidget.cpp Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
starwidget.h Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
subsurfacewebservices.cpp Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
subsurfacewebservices.h Silence warnings in subsurfacewebservices.h 2016-03-09 21:50:26 -08:00
tableview.cpp Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
tableview.h Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
tableview.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
tagwidget.cpp Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
tagwidget.h Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
templateedit.cpp Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
templateedit.h Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
templateedit.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
templatelayout.cpp Fix include paths 2016-04-05 09:40:58 -07:00
templatelayout.h Fix include paths 2016-04-05 09:40:58 -07:00
undocommands.cpp Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
undocommands.h Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
updatemanager.cpp Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
updatemanager.h Cloud storage: modify protocol for checking cloud connectivity 2015-11-18 17:57:13 -08:00
urldialog.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
usermanual.cpp Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
usermanual.h Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
usersurvey.cpp Move subsurface-core to core and qt-mobile to mobile-widgets 2016-04-04 22:33:58 -07:00
usersurvey.h Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
usersurvey.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00
webservices.ui Move qt-ui to desktop-widgets 2015-10-30 10:36:49 -07:00