|
|
|
|
|
by stravant
700 days ago
|
|
Such an invalid access of a very small address probably does result from a nullptr error: struct BigObject {
char stuff[0x9c]; // random fields
int field;
}
BigObject* object = nullptr;
printf("%d", object->field);
That will result in "Attempt to read from address 0x9c". Just because it's not trying to read from literal address 0x0 doesn't mean it's not nullptr error. |
|