summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)AuthorFilesLines
2007-02-08Each file in this commit has a problem where it is possible to dereferenceerik3-4/+9
a pointer without that pointer being valid. This commit fixes each instance of that.
2007-01-31A few files that have dynamically allocated arrays that are not properlyerik3-3/+3
de-allocated (forgot to use []).
2007-01-31Show events on all visible days in the month view, not just those within the ↵paule2-18/+46
current month. Fixes bug #1351.
2007-01-31Specify correct parameters to needToAuthenticate() and login() so that ↵paule1-2/+2
appropriate setting is read when determining whether to authenticate or not. Fixes bug #1830.
2007-01-31Reinstate startup system year validity check and update year to 2007; show ↵paule1-8/+19
date/time settings application on starting if option is enabled
2007-01-29Reformat according to current Opie coding style.erik1-70/+92
2007-01-29Reformat according to current Opie style.erik1-232/+234
2007-01-26Both files in this commit exhibit the wrong way to use temporary files.erik1-25/+48
For TEHistory.cpp, it uses tmpfile() which produces a file which has a name that can be guessed. For vmemo.cpp, it uses tmpname() which only creates a predictable string. Both uses have been switched to using mkstemp() wrapped around umask(). This produces a much less predictable file that also has guaranteed restrictive permissions. I went a little farther in vmemo because it calls out to the shell using system to 'mv' the new file. That is kinda wasteful so I switched it to use rename instead.
2007-01-26Both packageslave.cpp and textedit.cpp have instances of possibly exploitableerik2-44/+49
race conditions associated to files. The big deal is that it is quite typical to use strings of pathnames to track files. But because that does not leverage the filesystem would be attackers may be able to exploit time lags in uses of filesystem functions (like stat and chmod or open) to get files with suspect data into the files that the applications are working with. This commit closes that potential hole even though there are no known exploits. Better safe then sorry. There is no change in the behavior of the apps.
2007-01-26Each file in this commit exhibit an example of what prevent callserik2-63/+47
'reverse inull'. All that means is that a pointer gets dereferenced. Then a pointer gets checked for validity before being dereferenced again. This almost always points to shenanigans. For example, the konsole.cpp file has this konsoleInit() call which passes in a const char** shell variable. Since it is a double pointer the programmer who wrote the code made the mistake of mixing the checking of the pointer and the pointer that points to the pointer. This commit attempts to correct that. Of course there are other instances of the same thing. But they all boil down to a small mistake which might have produced strange side effects.
2007-01-24Every file in this commit has a memory leak of some kind or another. I thinkerik1-1/+1
all of them are minor and should not effect properly running code. But if I were you I would give libstocks and the stockticker plugin in Today a wide berth. That library is atrocious.
2007-01-24OBEX push server has a more common description.korovkin1-1/+1
2007-01-23A couple more return values that need to be checked.erik1-1/+5
2007-01-22Every file in this commit makes a call to a function which returns a value.erik1-1/+2
Each file also didn't check the return value. This commit changes it so that every single non-checked call in these files is checked.
2007-01-19core/opie-login/loginwindowimpl.cpp has a fix to properly free stringserik1-4/+21
that were dup'ed. noncore/apps/opie-reader/Bkmks.cpp deletes a temporary pointer that was not being properly disposed of.
2007-01-19Every file in this commit has a change to check the return value of a call.erik5-28/+48
2007-01-19Every single file in this commit had a memory leak where a resource iserik1-15/+17
allocated in the constructor but not de-allocated in the destructor. This commit fixes that.
2007-01-11I missed a bad override signature. This fixes that. There should be noerik2-2/+2
class inheritance function mismatches at this point.
2007-01-10All of the files included have instances where an array is new'ed buterik1-2/+2
the corresponding delete does not have the corresponding [] argument.
2007-01-10All of the files in this commit have an inheritance member functionerik2-2/+2
mismatch correction. None are serious, but all would have been improperly mislinked in the inheritance hierarchy if attempted to be used.
2007-01-03Fix for bug#0001547 provided by Paul Eggleton <bluelightning@bluelightning.org>korovkin1-21/+29
If there are no templates, just create the blank task.
2006-12-03Made OBEX library buildable if bluetooth support is disabled.korovkin5-7/+62
2006-11-14Clear both IRDA and BT lists at startup.korovkin1-33/+41
Enable IRDA and bluetooth at startup only. Move index to the beginning after send. Added status line change. Added checks for NULL pointers and empty list of bluetooth devices.
2006-11-14Removed class members that shadowed the base class members, whichkorovkin2-6/+1
caused the system crash.
2006-11-10Made list of receivers loaded form files saved by bt-manager.korovkin2-4/+52
2006-10-24IR OBEX is handled by OPIE OBEX functions, not by external utility.korovkin5-15/+21
2006-07-07Added OResource -> Resource for backward compatibility with OPIE 1.2.0.korovkin1-0/+6
2006-07-07s/Resource/OResource/mickeyl1-5/+5
2006-07-06Added OBEX Push functionality for Bluetooth.korovkin15-68/+985
- Added ObexBase - asic class for IR and BT Obex - Added ObexServer - OBEX Push server.
2006-06-01improve support for ipaqsmickeyl1-3/+1
2006-05-25g++ 4.1.1 fixmickeyl1-1/+1
2006-05-25g++ 4.1.1 fixmickeyl1-1/+1
2006-05-25prepare for 1.2.2mickeyl1-1/+1
2006-05-25g++ 4.1 fixesmickeyl1-2/+2
2006-05-14core/obex: Patch from Dmitry Korovkin to use opietooth's OBEX implementationzecke2-44/+57
for sending
2006-05-04destroys all child processes on the window closure. patch courtesy Dmitriy ↵mickeyl2-16/+26
Korovkin
2006-05-04fixed compilation opieobexaquadran2-4/+4
2006-05-02bluetooth patches courtesy Dmitriy Korovkin (thanks!):mickeyl4-29/+94
* When sending data to a device, do service discovery in order to get port number. * Switched to ussp-push for sending. * Clear receivers list on rescan. * Changed the way of window closing in order to shut down IRDA and bluetooth correctly.
2006-05-01default is now n, as qss is not used nor neededllornkcor1-1/+1
2006-01-22Set version to 1.2.1 in About applethrw1-1/+1
2005-11-28Opie Battery Applet for h19??:zecke1-1/+2
Patch by Pawel Kolodziejski (thank you once again) to make this applet work with the specific iPAQ model. It uses a 2.6kernel and there is no iPAQ specific prof file anymore, I think this device is not even capable of having a sleeve.
2005-11-13About applet: added myself into authorshrw1-0/+1
2005-11-08update libmad and add 64bit definellornkcor33-342/+799
2005-10-26add glue for opie-notes build menu integrationmickeyl1-0/+4
2005-10-26OPIE Notes: Added checking does Documents/text/plain/ exist at all and ↵hrw1-0/+30
create it if not. - Does not handle failure but its last version which use that dir - next will be SQLite based
2005-10-20added Opie-Noteshrw6-0/+409
2005-10-12fixed bug #1624: Button settngs changes are applied only after restarthrw1-1/+2
2005-09-21revertllornkcor1-741/+489
2005-09-13opieplayer: added rssparser.(cpp|h) into project file to get it buildhrw1-2/+4
- without that building fails on linking
2005-09-03switch to 5-point calibration to make it work on some newer Zauriimickeyl1-3/+3
this goes hand in hand with the integration of the RMK tslib calibration algorithm into Qt/Embedded 2.3.x. Patch courtesy Richard Purdie.