forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit5574a01
committed
Fix possible buffer overrun in hba.c.
Coverty reports a possible buffer overrun in the code that populates thepg_hba_file_rules view. It may not be a live bug due to restrictionson options that can be used together, but let's increase MAX_HBA_OPTIONSand correct a nearby misleading comment.Back-patch to 10 where this code arrived.Reported-by: Julian HsiaoDiscussion:https://postgr.es/m/CADnGQpzbkWdKS2YHNifwAvX5VEsJ5gW49U4o-7UL5pzyTv4vTg%40mail.gmail.com1 parentc6b3835 commit5574a01
1 file changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2188 | 2188 | | |
2189 | 2189 | | |
2190 | 2190 | | |
2191 | | - | |
2192 | | - | |
| 2191 | + | |
| 2192 | + | |
| 2193 | + | |
| 2194 | + | |
2193 | 2195 | | |
2194 | | - | |
| 2196 | + | |
2195 | 2197 | | |
2196 | 2198 | | |
2197 | 2199 | | |
| |||
2292 | 2294 | | |
2293 | 2295 | | |
2294 | 2296 | | |
| 2297 | + | |
2295 | 2298 | | |
2296 | 2299 | | |
2297 | 2300 | | |
| |||
0 commit comments
Comments
(0)