summaryrefslogtreecommitdiffstats
path: root/lib/libgssapi/gss_init_sec_context.c
diff options
context:
space:
mode:
authorcognet <cognet@FreeBSD.org>2007-11-27 22:12:05 +0000
committercognet <cognet@FreeBSD.org>2007-11-27 22:12:05 +0000
commit8ee51043418b2b11413644c7a7057901d8c70caf (patch)
tree36d558d0fbb2e53cbf916acdb9252911d47fc2ef /lib/libgssapi/gss_init_sec_context.c
parent3a88ba0aa7ff88fa2e8f84cb75a123567a99dd9f (diff)
downloadFreeBSD-src-8ee51043418b2b11413644c7a7057901d8c70caf.zip
FreeBSD-src-8ee51043418b2b11413644c7a7057901d8c70caf.tar.gz
In atomic_fetchadd_32(), do not blindly increase the value of %3.
It should just contain the value we want to add, as if we're interrupted between the add and the str, we will restart from the beginning. Just use a register we can scratch instead. MFC After: 1 week
Diffstat (limited to 'lib/libgssapi/gss_init_sec_context.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud