[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensolaris-dtrace-discuss
Subject:    Re: [dtrace-discuss] Anomaly in Dtrace copyin() observed through
From:       "S.T.Chang" <S.T.Chang () acm ! org>
Date:       2009-05-23 21:13:17
Message-ID: 1626951523.171261243138427653.JavaMail.Twebapp () sf-app1
[Download RAW message or body]

Hi Adam, 

Thanks for the reply.

> If you either null-terminal the string yourself

Yes, inserting a trailing null works.

> or change the copyin() to include the trailing 
> null your script should work as predicted.

Using copyin(arg1, arg2) or copyinstr(arg1)
shown that there is no terminating null in
arg1 :-) My fault... I should have thought of
this.


I will advise the CU to modify their script to
insert a trailing NULL.


Thanks.

Regards
S.T.
-- 
This message posted from opensolaris.org
_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic