-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. ProcessInFifo.c, VlimitInLookup.c, authindi.c, authpgsql.c, iauth.c, sql_getpw.c, vadduser.c, vchkpass.c, vlimit.c, vmoduser.c, vsetuserquota.c: initialize struct vlimits 2. limits.c: fix data types to fix stack smashing 3. vlimits.h: changed data types to long 4. vlimit.c: added -T option to toggle bit field 5. vlimit.c: fixed data types 6. inquerytest: change data type to long 7. vadduser.c: fix .domain_limits path
- Loading branch information
Showing
22 changed files
with
991 additions
and
214 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,16 @@ Release @version@-@release@ Start 02/05/2024 End XX/XX/XXXX | |
- 24/05/2024 | ||
13. vsetuserquota.c: print current usage in bytes on stdout | ||
14. setuserquota.c: changed return type of setuserquota to 64bit int | ||
- 28/05/2024 | ||
15. ProcessInFifo.c, VlimitInLookup.c, authindi.c, authpgsql.c, iauth.c, | ||
sql_getpw.c, vadduser.c, vchkpass.c, vlimit.c, vmoduser.c, | ||
vsetuserquota.c: initialize struct vlimits | ||
16. limits.c: fix data types to fix stack smashing | ||
17. vlimits.h: changed data types to long | ||
18. vlimit.c: added -T option to toggle bit field | ||
19. vlimit.c: fixed data types | ||
20. inquerytest: change data type to long | ||
21. vadduser.c: fix .domain_limits path | ||
|
||
* Mon Jan 01 2024 09:24:41 +0000 Manvendra Bhangui <[email protected]> 3.4.6-1.1%{?dist} | ||
Release 3.4.6-1.1 Start 09/09/2023 End 01/01/2024 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* $Id: iauth.c,v 1.10 2024-05-17 16:25:48+05:30 mbhangui Exp mbhangui $ | ||
* $Id: iauth.c,v 1.11 2024-05-27 22:51:20+05:30 Cprogrammer Exp mbhangui $ | ||
* | ||
* authenticate.c - Generic PAM Authentication module for pam_multi | ||
* Copyright (C) <2008-2023> Manvendra Bhangui <[email protected]> | ||
|
@@ -81,7 +81,7 @@ | |
#include "common.h" | ||
|
||
#ifndef lint | ||
static char sccsid[] = "$Id: iauth.c,v 1.10 2024-05-17 16:25:48+05:30 mbhangui Exp mbhangui $"; | ||
static char sccsid[] = "$Id: iauth.c,v 1.11 2024-05-27 22:51:20+05:30 Cprogrammer Exp mbhangui $"; | ||
#endif | ||
|
||
static int defaultTask(char *, char *, struct passwd *, char *, int); | ||
|
@@ -223,7 +223,7 @@ i_acctmgmt(char *email, char *service, int *size, int *nitems, int debug) | |
MYSQL_RES *res; | ||
MYSQL_ROW row; | ||
#ifdef ENABLE_DOMAIN_LIMITS | ||
struct vlimits limits; | ||
struct vlimits limits = { 0 }; | ||
#endif | ||
|
||
if (nitems) | ||
|
@@ -470,6 +470,9 @@ defaultTask(char *email, char *TheDomain, struct passwd *pw, char *service, int | |
|
||
/* | ||
* $Log: iauth.c,v $ | ||
* Revision 1.11 2024-05-27 22:51:20+05:30 Cprogrammer | ||
* initialize struct vlimits | ||
* | ||
* Revision 1.10 2024-05-17 16:25:48+05:30 mbhangui | ||
* fix discarded-qualifier compiler warnings | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.