#2001 closed defect (fixed)

mdump length argument broken + medit NULL pointer problem

Reported by: Sebastien Bourdeauducq Owned by: Chris Johns
Priority: normal Milestone: 4.11
Component: shell Version: 4.11
Severity: normal Keywords:
Cc: joel.sherrill@… Blocked By:
Blocking:

Description

(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.

Attachments (1)

mem-fixes.patch (1.5 KB) - added by Sebastien Bourdeauducq on Jan 26, 2012 at 8:48:36 AM.
patch

Download all attachments as: .zip

Change History (3)

Changed on Jan 26, 2012 at 8:48:36 AM by Sebastien Bourdeauducq

Attachment: mem-fixes.patch added

patch

comment:1 Changed on Feb 3, 2012 at 9:09:29 PM by Joel Sherrill

Resolution: fixed
Status: newclosed

I should have noted that the byte/word/long issue with the dump commands was addressed by PR 2012.

comment:2 Changed on Nov 24, 2014 at 6:58:28 PM by Gedare

Version: HEAD4.11

Replace Version=HEAD with Version=4.11 for the tickets with Milestone >= 4.11

Note: See TracTickets for help on using tickets.