[mdb-discuss] mdb :r command corrupts arguments for 64 bit x86 debug target

2010-02-08 Thread Alan Coopersmith
Kuriakose Kuruvilla wrote: Hi J?rgen This is because of the strncpy() in string_unquote() at mdb_lex.1:699 http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/cmd/mdb/common/mdb/mdb_lex.l#699. The source and destination overlap but the manpage for strncpy.3c says... If

[mdb-discuss] mdb :r command corrupts arguments for 64 bit x86 debug target

2010-02-06 Thread Jürgen Keil
Can anyone reproduce this: I'm running SX:CE b129 amd64, bfu'ed to current ON bits; the same problem exists on OpenSolaris dev build b132. I'm trying to debug a /usr/sbin/amd64/update_drv problem, using mdb. Problem is that the debug target somehow receives a :r quoted string argument slightly