[Bug 2001] New: mdump length argument broken + medit NULL pointer problem

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Thu Jan 26 09:48:39 UTC 2012


https://www.rtems.org/bugzilla/show_bug.cgi?id=2001

           Summary: mdump length argument broken + medit NULL pointer
                    problem
           Product: RTEMS
           Version: HEAD
          Platform: All
        OS/Version: RTEMS
            Status: NEW
          Severity: normal
          Priority: P3
         Component: shell
        AssignedTo: chrisj at rtems.org
        ReportedBy: sebastien at milkymist.org
                CC: joel.sherrill at oarcorp.com


Created attachment 1406
  --> https://www.rtems.org/bugzilla/attachment.cgi?id=1406
patch

(from Werner Almesberger)

This patch fixes the "mdump" and "medit" shell commands:

- "mdump" got the length argument wrong and would only produce useful
  output if it was omitted.

- "medit" overran the argument list, choking on the NULL pointer
  following the last argument.

Note that "medit" still only does byte-sized accesses, which limits
its usefulness on most systems.

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list