You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
modules/pam_namespace/pam_namespace.c makes use of SIZE_MAX but doesn't include stdint.h; resulting in build failures on 1.6.0.
pam_namespace.c: In function 'process_line':
pam_namespace.c:649:41: error: 'SIZE_MAX' undeclared (first use in this function)
649 | if (count > UINT_MAX || count > SIZE_MAX / sizeof(uid_t)) {
| ^~~~~~~~
pam_namespace.c:41:1: note: 'SIZE_MAX' is defined in header '<stdint.h>'; did you forget to '#include <stdint.h>'?
40 | #include "argv_parse.h"
+++ |+#include <stdint.h>
41 |
pam_namespace.c:649:41: note: each undeclared identifier is reported only once for each function it appears in
649 | if (count > UINT_MAX || count > SIZE_MAX / sizeof(uid_t)) {
| ^~~~~~~~
make[3]: *** [Makefile:819: pam_namespace.lo] Error 1
the following fixes it:
sed -i -e '/argv_parse\.h/a\
#include <stdint.h>\
' modules/pam_namespace/pam_namespace.c
The text was updated successfully, but these errors were encountered:
modules/pam_namespace/pam_namespace.c
makes use ofSIZE_MAX
but doesn't includestdint.h
; resulting in build failures on 1.6.0.the following fixes it:
The text was updated successfully, but these errors were encountered: