change log for rtems (2010-04-29)
rtems-vc at rtems.org
rtems-vc at rtems.org
Thu Apr 29 12:11:39 UTC 2010
*sh*:
2010-04-29 Sebastian Huber <sebastian.huber at embedded-brains.de>
PR1507
* libblock/src/bdbuf.c: Avoid NULL pointer access.
* libblock/src/diskdevs.c: Fixed bounds check in rtems_disk_next().
M 1.2280 cpukit/ChangeLog
M 1.51 cpukit/libblock/src/bdbuf.c
M 1.24 cpukit/libblock/src/diskdevs.c
diff -u rtems/cpukit/ChangeLog:1.2279 rtems/cpukit/ChangeLog:1.2280
--- rtems/cpukit/ChangeLog:1.2279 Thu Apr 29 04:42:51 2010
+++ rtems/cpukit/ChangeLog Thu Apr 29 06:34:58 2010
@@ -1,3 +1,10 @@
+2010-04-29 Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+ PR1507
+ * libblock/src/bdbuf.c: Avoid NULL pointer access.
+
+ * libblock/src/diskdevs.c: Fixed bounds check in rtems_disk_next().
+
2010-04-29 Ralf Corsépius <ralf.corsepius at rtems.org>
* librpc/src/rpc/clnt_udp.c, librpc/src/xdr/xdr_mem.c:
diff -u rtems/cpukit/libblock/src/bdbuf.c:1.50 rtems/cpukit/libblock/src/bdbuf.c:1.51
--- rtems/cpukit/libblock/src/bdbuf.c:1.50 Fri Jan 29 08:57:10 2010
+++ rtems/cpukit/libblock/src/bdbuf.c Thu Apr 29 06:34:59 2010
@@ -2269,6 +2269,7 @@
{
rtems_chain_node *node;
static rtems_disk_device null_disk = {
+ .phys_dev = &null_disk,
.capabilities = 0,
.ioctl = rtems_bdbuf_null_disk_ioctl
};
diff -u rtems/cpukit/libblock/src/diskdevs.c:1.23 rtems/cpukit/libblock/src/diskdevs.c:1.24
--- rtems/cpukit/libblock/src/diskdevs.c:1.23 Fri Apr 9 07:28:24 2010
+++ rtems/cpukit/libblock/src/diskdevs.c Thu Apr 29 06:34:59 2010
@@ -475,7 +475,7 @@
dtab = disktab + major;
while (true)
{
- if ((dtab == NULL) || (minor > dtab->size))
+ if ((dtab == NULL) || (minor >= dtab->size))
{
major++; minor = 0;
if (major >= disktab_size)
--
Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20100429/4e9719b5/attachment-0001.html>
More information about the vc
mailing list