Skip Menu |
 

From: ghudson@mit.edu
Subject: git commit

Fix EOF check in kadm5.acl line processing

On platforms where the char type is unsigned, the check for EOF (which
is negative) will always fail, leaving a 255 byte at the end of the
line. This can cause a syntax error, in turn causing the contents of
kadm5.acl to be ignored. Fix this bug by removing the cast on EOF.

[ghudson@mit.edu: more precisely describe consequences of bug in
commit message]

https://github.com/krb5/krb5/commit/8fd85a77789496b8d7f8092f6e8a2824bc09a6cf
Author: Robbie Harwood <rharwood@redhat.com>
Committer: Greg Hudson <ghudson@mit.edu>
Commit: 8fd85a77789496b8d7f8092f6e8a2824bc09a6cf
Branch: master
src/lib/kadm5/srv/server_acl.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
From: tlyu@mit.edu
Subject: git commit

Fix EOF check in kadm5.acl line processing

On platforms where the char type is unsigned, the check for EOF (which
is negative) will always fail, leaving a 255 byte at the end of the
line. This can cause a syntax error, in turn causing the contents of
kadm5.acl to be ignored. Fix this bug by removing the cast on EOF.

[ghudson@mit.edu: more precisely describe consequences of bug in
commit message]

(cherry picked from commit 8fd85a77789496b8d7f8092f6e8a2824bc09a6cf)

https://github.com/krb5/krb5/commit/c8b2b0cd7b327b93d4be32b0132d9370c64f7665
Author: Robbie Harwood <rharwood@redhat.com>
Committer: Tom Yu <tlyu@mit.edu>
Commit: c8b2b0cd7b327b93d4be32b0132d9370c64f7665
Branch: krb5-1.14
src/lib/kadm5/srv/server_acl.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
From: tlyu@mit.edu
Subject: git commit

Fix EOF check in kadm5.acl line processing

On platforms where the char type is unsigned, the check for EOF (which
is negative) will always fail, leaving a 255 byte at the end of the
line. This can cause a syntax error, in turn causing the contents of
kadm5.acl to be ignored. Fix this bug by removing the cast on EOF.

[ghudson@mit.edu: more precisely describe consequences of bug in
commit message]

(cherry picked from commit 8fd85a77789496b8d7f8092f6e8a2824bc09a6cf)

https://github.com/krb5/krb5/commit/8a697b6ef9d4e528a33c66c781403698551982fc
Author: Robbie Harwood <rharwood@redhat.com>
Committer: Tom Yu <tlyu@mit.edu>
Commit: 8a697b6ef9d4e528a33c66c781403698551982fc
Branch: krb5-1.13
src/lib/kadm5/srv/server_acl.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)