forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit28782d7
committed
Fix unsafe usage of strerror(errno) within ereport().
This is the converse of the unsafe-usage-of-%m problem: the reasonereport/elog provide that format code is mainly to dodge the hazardof errno getting changed before control reaches functions within thearguments of the macro. I only found one instance of this hazard,but it's been there since 9.4 :-(.1 parentfa2cfb9 commit28782d7
1 file changed
+3
-1
lines changedLines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2017 | 2017 |
| |
2018 | 2018 |
| |
2019 | 2019 |
| |
| 2020 | + | |
| 2021 | + | |
2020 | 2022 |
| |
2021 | 2023 |
| |
2022 | 2024 |
| |
2023 |
| - | |
| 2025 | + | |
2024 | 2026 |
| |
2025 | 2027 |
| |
2026 | 2028 |
| |
|
0 commit comments
Comments
(0)