forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc5e1df9
committed
Remove one use of IDENT_USERNAME_MAX
IDENT_USERNAME_MAX is the maximum length of the information returnedby an ident server, per RFC 1413. Using it as the buffer size in peerauthentication is inappropriate. It was done here because of thehistorical relationship between peer and ident authentication. Toreduce confusion between the two authenticaton methods and disentangletheir code, use a dynamically allocated buffer instead.Discussion:https://www.postgresql.org/message-id/flat/c798fba5-8b71-4f27-c78e-37714037ea31%402ndquadrant.com1 parent5cc1e64 commitc5e1df9
1 file changed
+10
-4
lines changedLines changed: 10 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
65 | 65 |
| |
66 | 66 |
| |
67 | 67 |
| |
68 |
| - | |
| 68 | + | |
69 | 69 |
| |
70 | 70 |
| |
71 | 71 |
| |
| |||
1990 | 1990 |
| |
1991 | 1991 |
| |
1992 | 1992 |
| |
1993 |
| - | |
1994 | 1993 |
| |
1995 | 1994 |
| |
1996 | 1995 |
| |
| 1996 | + | |
| 1997 | + | |
1997 | 1998 |
| |
1998 | 1999 |
| |
1999 | 2000 |
| |
| |||
2022 | 2023 |
| |
2023 | 2024 |
| |
2024 | 2025 |
| |
2025 |
| - | |
| 2026 | + | |
| 2027 | + | |
| 2028 | + | |
| 2029 | + | |
2026 | 2030 |
| |
2027 |
| - | |
| 2031 | + | |
| 2032 | + | |
| 2033 | + | |
2028 | 2034 |
| |
2029 | 2035 |
| |
2030 | 2036 |
| |
|
0 commit comments
Comments
(0)