
| Key: |
STDCXX-891
|
| Type: |
Bug
|
| Status: |
Open
|
| Priority: |
Minor
|
| Assignee: |
Unassigned
|
| Reporter: |
Martin Sebor
|
| Votes: |
0
|
| Watchers: |
0
|
|
If you were logged in you would be able to see more operations.
|
|
|
|
Time Tracking:
|
|
Original Estimate:
|
2h
|
|
|
Remaining Estimate:
|
2h
|
|
|
Time Spent:
|
Not Specified
|
|
|
|
|
Environment:
|
aCC: HP C/aC++ B3910B A.06.16 [Nov 26 2007]
|
|
| Severity: |
Compiler Warning
|
The cast from mbstate_t* to unsigned short* in iso2022.cpp and subsequently dereferencing the pointer is unsafe because we don't know the alignment requirement of mbstate_t and because the type itself might be smaller that unsigned short, including as small as plain char as happens to be the case on IRIX.
|
|
Description
|
The cast from mbstate_t* to unsigned short* in iso2022.cpp and subsequently dereferencing the pointer is unsafe because we don't know the alignment requirement of mbstate_t and because the type itself might be smaller that unsigned short, including as small as plain char as happens to be the case on IRIX.
|
Show » |
|