Title: | DECmcc user notes file. Does not replace IPMT. |
Notice: | Use IPMT for problems. Newsletter location in note 6187 |
Moderator: | TAEC::BEROUD |
Created: | Mon Aug 21 1989 |
Last Modified: | Wed Jun 04 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 6497 |
Total number of notes: | 27359 |
MCC V1.1 on VMS mcc_dns_opaque_fullname is overwriting the character at position (fullname_string_len + 1) in the 'read-only' string fullname_string. example: fullname_string startes at memory position 1547593 fullname_string_len is 21 just before call to mcc_dns_opaque_fullname DBG> ex/a:1 1547614 1547614: 'T' and just after the call DBG> ex/a:1 1547614 1547614: '.' This results in corruption of string2 when the next string startes just at the (string1_len + 1). Can anyone reproduce it to make sure that it is a bug ? Or is this a known bug ? Thanks, Phil
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
1856.1 | Yes, it was a bug. | TRM::KWAK | Wed Nov 27 1991 14:18 | 13 | |
RE: .0 You're right. In MCC V1.1, the input fullname string was forced to be null-terminated in mcc_dns_opaque_fullname(). The correction to this problem was made a few months ago, and the DECmcc V1.2 will treate the input string as "read-only". Thanks. |