[krbdev.mit.edu #6486] SVN Commit

Tom Yu via RT rt-comment at krbdev.mit.edu
Wed May 13 16:41:39 EDT 2009


In util/support/utf8_conv.c, the SWAP16 macro is invoked with an
argument that has side effects.  On platforms where SWAP16 can
evaluate its argument twice (including platforms where utf8_conv.c
creates a fallback definition for the SWAP16 macro), this can cause a
read overrun by a factor of two.

Rearrange the data flow to avoid calling SWAP16 with an argument that
has side effects.

http://src.mit.edu/fisheye/changelog/krb5/?cs=22348
Commit By: tlyu
Revision: 22348
Changed Files:
U   trunk/src/util/support/utf8_conv.c




More information about the krb5-bugs mailing list