* Alysander

| So it appears that the PRId8 macro is being incorrectly defined as "d"
| on my machine when it should in fact be "hhd", leading to the byte
| overwrites I mentioned initially. Finally, adding the extra two h's
| corrects the problem.

PRId8 is, as you can guess from the name (and from the comment in
inttypes.h) used for printing.  You probably rather want SCNd8 which
is defined as "hhd" and used for scanning.

-- 
Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are

-- 
fscanf out of bounds write
https://bugs.launchpad.net/bugs/110917
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to