Commit Graph

20097 Commits

Author SHA1 Message Date
Joel Sherrill
aaaffd4cba 2010-01-20 Joel Sherrill <joel.sherrill@oarcorp.com>
Coverity Id 30
	* libmisc/shell/hexdump-parse.c: Add free(pr) before returning.
2010-01-20 15:15:39 +00:00
Joel Sherrill
129b4a38bd 2010-01-20 Chris Johns <chrisj@rtems.org>
Coverity Id 6
	* libmisc/shell/hexdump-parse.c: Modify conditional to avoid NULL
	dereference.
2010-01-20 14:31:04 +00:00
Joel Sherrill
8bffc40b3a 2010-01-20 Chris Johns <chrisj@rtems.org>
Coverity Id 9
	* libmisc/shell/main_ls.c: Modify conditional to avoid NULL
	dereference.
2010-01-20 14:27:57 +00:00
Joel Sherrill
a518defe92 2010-01-19 Joel Sherrill <joel.sherrill@oarcorp.com>
Coverity Id 10
	* libblock/src/bdbuf.c: Rework loop conditional to avoid potential use
	of NULL pointer.
2010-01-19 23:54:17 +00:00
Joel Sherrill
c917d31a3f 2010-01-19 Joel Sherrill <joel.sherrill@oarcorp.com>
Coverity Id 23
	* libmisc/monitor/mon-monitor.c: Add fclose() of file.
2010-01-19 23:49:40 +00:00
Joel Sherrill
b61ad658f1 2010-01-19 Joel Sherrill <joel.sherrill@oarcorp.com>
* libblock/src/ide_part_table.c: Another error path without a
	free(sector).
2010-01-19 23:47:41 +00:00
Joel Sherrill
e00381a574 2010-01-19 Joel Sherrill <joel.sherrill@oarcorp.com>
Coverity Id 28
	* libcsupport/src/termios.c: Set then unconditionally to avoid
	potential paths where it might be used uninitialized. Recommended by
	Eric Norum.
2010-01-19 23:03:24 +00:00
Joel Sherrill
e4d7016c1a 2010-01-19 Joel Sherrill <joel.sherrill@oarcorp.com>
Coverity Id 18
	* libmisc/shell/fts.c: Add free(parent) to correct leak.
2010-01-19 23:01:36 +00:00
Joel Sherrill
d3231fbaef 2010-01-19 Joel Sherrill <joel.sherrill@oarcorp.com>
Coverity Id 24
	* libblock/src/ide_part_table.c: Initialize sector to NULL and add
	free(sector) on error return path from get_sector() to fix potential
	leak.
2010-01-19 22:09:20 +00:00
Joel Sherrill
b2ac8a9c4f 2010-01-19 Joel Sherrill <joel.sherrill@oarcorp.com>
Coverity Id 25
	* libblock/src/ide_part_table.c: Add free(sector) on error return path
	to fix leak.
2010-01-19 22:05:30 +00:00
Joel Sherrill
2d2dcab250 2010-01-19 Joel Sherrill <joel.sherrill@oarcorp.com>
Coverity Id 5
	* score/src/objectinitializeinformation.c: Do not modify maximum
	parameter. Clean up and simplify code. This should help the Coverity
	path analysis to avoid reporting issues.
2010-01-19 19:33:08 +00:00
Joel Sherrill
cb4e99201e 2010-01-19 Joel Sherrill <joel.sherrill@oarcorp.com>
* libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_creat.c,
	libfs/src/imfs/imfs_initsupp.c, libfs/src/imfs/imfs_link.c,
	libfs/src/imfs/imfs_load_tar.c, libfs/src/imfs/imfs_mknod.c,
	libfs/src/imfs/imfs_symlink.c: Create special helper method for
	creating the j-node for the root directory. This lets us assume that
	every j-node created otherwise has a parent node.
2010-01-19 19:31:00 +00:00
Thomas Doerfler
f1eb199a2e Update of libblock API, update of tqm8xx BSP 2010-01-19 09:12:41 +00:00
Thomas Doerfler
de592aa6f1 tqm8xx BSP fixes 2010-01-19 09:11:34 +00:00
Thomas Doerfler
1ba96ef99a Update for block device API change. 2010-01-19 09:10:56 +00:00
Thomas Doerfler
5c587596f0 libblock API update 2010-01-19 09:10:03 +00:00
Thomas Doerfler
64734fc14b updates and new test cases 2010-01-19 08:55:18 +00:00
Joel Sherrill
c4c8efd027 2010-01-18 Joel Sherrill <joel.sherrill@oarcorp.com>
Coverity Id 27
	* libblock/src/ramdisk-config.c: Coverity notes that the
	calloc() is a resource leak.  This is allocating memory for
	a RAM disk which will persist for the life of the system. RTEMS
	has no "de-initialize" driver call so there is no corresponding
	free(r).  Coverity is correct that it is never freed but this is
	not a problem.
2010-01-19 02:23:03 +00:00
Joel Sherrill
d22cd4a98a 2010-01-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* libmisc/stackchk/check.c: Fix warning.
2010-01-19 01:56:28 +00:00
Joel Sherrill
ad7824bc9e 2010-01-18 Joel Sherrill <joel.sherrill@oarcorp.com>
Coverity Id 12
	* libfs/src/imfs/memfile.c: Check for NULL return value.
2010-01-19 01:55:28 +00:00
Joel Sherrill
9ba0e55fc4 2010-01-18 Joel Sherrill <joel.sherrill@oarcorp.com>
Coverity Id 19
	Coverity Id 20
	Coverity Id 21
	* libfs/src/imfs/imfs_link.c, libfs/src/imfs/imfs_load_tar.c,
	libfs/src/imfs/imfs_mknod.c: Add comment to explain allocation is
	for life of file, not scope of method.
2010-01-18 23:39:31 +00:00
Joel Sherrill
2bac948920 2010-01-18 Joel Sherrill <joel.sherrill@oarcorp.com>
Coverity Id 12
	Coverity Id 13
	Coverity Id 14
	Coverity Id 15
	* libmisc/stackchk/check.c: Rewrote loop to avoid possible buffer
	overruns when the pattern area size is not a multiple of 16.  There
	were no current ports impacted by this but better to be safe.
2010-01-18 23:04:09 +00:00
Joel Sherrill
8c29e98ddf 2010-01-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* libfs/src/imfs/imfs_symlink.c: Add comment on Coverity CID22. This is
	not a resource leak.
2010-01-18 18:24:53 +00:00
Joel Sherrill
abf9ea0c4e 2010-01-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* libfs/src/imfs/imfs_symlink.c: Spacing.
2010-01-18 18:20:28 +00:00
Ralf Corsepius
04453b7bf8 This commit was generated by cvs2svn to compensate for changes in r22574,
which included commits to RCS files with non-trunk default branches.
2010-01-17 18:50:11 +00:00
Ralf Corsepius
ef15ee0276 Import from zlib-1.2.4 2010-01-17 18:50:11 +00:00
Thomas Doerfler
61df726b16 add missing file 2010-01-12 15:17:47 +00:00
Thomas Doerfler
39c8fdb416 add support for lpc32xx 2010-01-12 15:03:22 +00:00
Joel Sherrill
29a3d72cd9 2010-01-11 Marc Pignat <marc.pignat@hevs.ch>
PR 1490/doc
	* user/clock.t: Fix typo. rtems_clock_get_ticks_per_second not
	rtems_clock_get_ticks_per_seconds.
2010-01-11 16:18:04 +00:00
Joel Sherrill
fe83cef683 2010-01-11 Allan Hessenflow <allanh@kallisti.com>
* serial/spi.c, serial/spi.h:
	Fill in skeleton with functional SPI master code.
	* include/spiRegs.h:
	Correct spi shadow register declaration.
2010-01-11 16:14:47 +00:00
Ralf Corsepius
04a82e9c49 Update. 2010-01-11 12:27:39 +00:00
Ralf Corsepius
da4097f2db Split out rtems-4.10-release. 2010-01-11 12:27:14 +00:00
Ralf Corsepius
8104eb329c Add INSTALL. 2010-01-11 12:26:25 +00:00
Ralf Corsepius
9c4ec8b937 Remove. 2010-01-11 12:26:15 +00:00
Joel Sherrill
161f54b4d6 2009-12-28 Shrikant Gaikwad <n3oo3n@gmail.com>
* psx13/test.c, psx13/psx13.scn Added new routine PipeTestNull()
	to cover the trivial NULL case for pipe function.
2009-12-28 16:43:10 +00:00
Joel Sherrill
aea66e878a 2009-12-28 Aanjhan Ranganathan <aanjhan@gmail.com>
* bspcmdline01/init.c, bspcmdline01/bspcmdline01.scn: Added test case
	to cover the bsp_cmdline_get_param() routine.
2009-12-28 16:42:08 +00:00
Joel Sherrill
44be50c22f 2009-12-28 Shrikant Gaikwad <n3oo3n@gmail.com>
* cpukit/libfs/src/pipe/pipe.c Restructured code to remove the
	goto statements.
2009-12-28 16:36:08 +00:00
Joel Sherrill
e1ddc14b08 2009-12-23 Joel Sherrill <joel.sherrill@oarcorp.com>
* include/bsp.h: Add BSP_HAS_FRAME_BUFFER.
2009-12-23 17:33:41 +00:00
Ralf Corsepius
444f532de2 New. 2009-12-22 16:30:54 +00:00
Ralf Corsepius
b0015ab6ae gdb-7.0.1 2009-12-22 16:30:22 +00:00
Joel Sherrill
2687028949 2009-12-22 Sebastian Huber <sebastian.huber@embedded-brains.de>
* include/rtems++/rtemsEvent.h, include/rtems++/rtemsMessageQueue.h:
	Fixed timeout calculation.
2009-12-22 13:12:57 +00:00
Joel Sherrill
b45ba5258b 2009-12-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* libnetworking/lib/ftpfs.c: Use EINVAL not EBADRQC.
2009-12-21 15:13:24 +00:00
Joel Sherrill
9325362b21 2009-12-21 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
* block06/init.c: Update for disk device API change.  Changed EBADRQC
	to EINVAL.
2009-12-21 14:49:55 +00:00
Ralf Corsepius
ced3e37c89 Import from zlib-1.2.4 2009-12-21 06:06:54 +00:00
Ralf Corsepius
db15ab3daf This commit was generated by cvs2svn to compensate for changes in r22540,
which included commits to RCS files with non-trunk default branches.
2009-12-21 06:06:54 +00:00
Ralf Corsepius
86bde6fc2f Regenerate. 2009-12-19 05:52:49 +00:00
Ralf Corsepius
5688a1bf38 Reset NEWLIB_RPMREL.
NEWLIB_VERS = 1.18.0
2009-12-19 05:51:44 +00:00
Ralf Corsepius
856e6c6adb New. 2009-12-19 05:50:05 +00:00
Ralf Corsepius
995305cf4f Bump GCC_RPMREL. 2009-12-19 05:31:39 +00:00
Ralf Corsepius
ac3176a9b9 Abandon fc10. 2009-12-19 05:28:47 +00:00