Fix RADIUS error reporting in hba file parsing
Peter Eisentraut <peter@eisentraut.org>
Fix RADIUS error reporting in hba file parsing The RADIUS-related checks in parse_hba_line() did not respect elevel and did not fill in *err_msg. Also, verify_option_list_length() pasted together error messages in an untranslatable way. To fix the latter, remove the function and do the error checking inline. It's a bit more verbose but only minimally longer, and it makes fixing the first two issues straightforward. Reviewed-by: Magnus Hagander <magnus@hagander.net> Discussion: https://www.postgresql.org/message-id/flat/8381e425-8c23-99b3-15ec-3115001db1b2%40enterprisedb.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/libpq/hba.c | modified | +48 −42 |
Discussion
- Fix RADIUS error reporting in hba file parsing 2 messages · 2021-05-27 → 2021-05-31