Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/crypto/external/bsd/heimdal



Module Name:    src
Committed By:   christos
Date:           Fri Sep  8 15:29:44 UTC 2017

Modified Files:
        src/crypto/external/bsd/heimdal/dist: configure.ac
        src/crypto/external/bsd/heimdal/dist/kcm: client.c config.c
        src/crypto/external/bsd/heimdal/dist/lib/hx509: softp11.c
        src/crypto/external/bsd/heimdal/dist/lib/krb5: config_file.c
            get_default_principal.c
        src/crypto/external/bsd/heimdal/dist/lib/roken: getxxyyy.c roken.h.in
        src/crypto/external/bsd/heimdal/include: config.h roken.h
Added Files:
        src/crypto/external/bsd/heimdal/dist/cf: check-getpwuid_r-posix.m4

Log Message:
Use getpwuid_r instead of getpwuid, so that we don't trash getpw*() internal
buffers.

kde does (kdm/client/backend.c):
    p = getpwnam();
    pam_setcred() (which calls getpwuid in pam_afslog);
    setusercontext(...,p,p->pw_uid,...) (now with trashed p data...)

XXX: pullups.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/crypto/external/bsd/heimdal/dist/configure.ac
cvs rdiff -u -r0 -r1.1 \
    src/crypto/external/bsd/heimdal/dist/cf/check-getpwuid_r-posix.m4
cvs rdiff -u -r1.2 -r1.3 src/crypto/external/bsd/heimdal/dist/kcm/client.c \
    src/crypto/external/bsd/heimdal/dist/kcm/config.c
cvs rdiff -u -r1.2 -r1.3 \
    src/crypto/external/bsd/heimdal/dist/lib/hx509/softp11.c
cvs rdiff -u -r1.2 -r1.3 \
    src/crypto/external/bsd/heimdal/dist/lib/krb5/config_file.c \
    src/crypto/external/bsd/heimdal/dist/lib/krb5/get_default_principal.c
cvs rdiff -u -r1.2 -r1.3 \
    src/crypto/external/bsd/heimdal/dist/lib/roken/getxxyyy.c
cvs rdiff -u -r1.4 -r1.5 \
    src/crypto/external/bsd/heimdal/dist/lib/roken/roken.h.in
cvs rdiff -u -r1.8 -r1.9 src/crypto/external/bsd/heimdal/include/config.h
cvs rdiff -u -r1.7 -r1.8 src/crypto/external/bsd/heimdal/include/roken.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index