summaryrefslogtreecommitdiff
path: root/core
AgeCommit message (Collapse)AuthorFilesLines
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.
2005-08-29Scale icons in contact table listing and in configure dialogdrw2-16/+24
2005-08-28podcast! support.. 1st installment. needs improvementsllornkcor4-110/+567
2005-08-23- fix SIGSEGV when trying to send but IrDA is not enabledmickeyl2-27/+32
- rename 'scan' button to 'rescan' - disable 'send' button if IrDA and BT is both disabled
2005-08-23and away with the generated onesmickeyl2-353/+0
2005-08-23readd some files againmickeyl7-3/+960
2005-08-22changed tab order in light-and-power settings panelhrw1-17/+12
now it behave like it should (goes from up to bottom, left to right)
2005-08-22add obexsendbase.ui courtesy Michael Hayniemickeyl1-0/+369