Hi, in the example stackcheck there are some confusing comments: Due to the line
extern unsigned short _end; ///<Last used byte of the last segment in RAM (defined by the linker) _end is an uint16_t but the comment says byte = unsigned char (=uint8_t). Is this a bug in the comment? In function stackProtectionInit the writing starts at _end: unsigned short *address = &_end; ... (*address++) = STACK_GUARD_INIT; due to the comment that means that the last used word in RAM gets overwritten. Is this a bug in the comment? Regards, Rolf
