[Heimdal-source-changes] [heimdal/heimdal] c868b6: lib/gssapi/mech/gss_compare_name.c: fix memcmp() c...
GitHub
noreply at github.com
Tors Mars 10 11:25:34 CET 2016
Branch: refs/heads/master
Home: https://github.com/heimdal/heimdal
Commit: c868b6ac0bf17b82c1c5c6f601928742389d1aa4
https://github.com/heimdal/heimdal/commit/c868b6ac0bf17b82c1c5c6f601928742389d1aa4
Author: aaptel <aurelien.aptel at gmail.com>
Date: 2016-03-10 (Thu, 10 Mar 2016)
Changed paths:
M lib/gssapi/mech/gss_compare_name.c
Log Message:
-----------
lib/gssapi/mech/gss_compare_name.c: fix memcmp() call
Make memcmp() compare the name1 and name2 value instead of comparing
name1 with itself.
The memcmp() is only executed if the left-hand side of the || is false
i.e. when both length are equal so the length argument is correct (no out-of-bounds reads).
Commit: 0cf82c02357c401536278a250b345d6c78ca70e5
https://github.com/heimdal/heimdal/commit/0cf82c02357c401536278a250b345d6c78ca70e5
Author: Love Hörnquist Åstrand <lha at h5l.org>
Date: 2016-03-10 (Thu, 10 Mar 2016)
Changed paths:
M lib/gssapi/mech/gss_compare_name.c
Log Message:
-----------
Merge pull request #163 from aaptel/patch-1
lib/gssapi/mech/gss_compare_name.c: fix memcmp() call
Compare: https://github.com/heimdal/heimdal/compare/b4dc42b4a754...0cf82c02357c
More information about the Heimdal-source-changes
mailing list