forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitffac8ac
committed
Make fallback MD5 implementation thread-safe on big-endian systems
Replace a static scratch buffer with a local variable, because astatic buffer makes the function not thread-safe. This function isused in client-code in libpq, so it needs to be thread-safe. It wasuntil commitb67b57a, which replaced the implementation with theone from pgcrypto.Backpatch to v14, where we switched to the new implementation.Reviewed-by: Robert Haas, Michael PaquierDiscussion:https://www.postgresql.org/message-id/dfa2015d-ad21-4802-a4cc-3850fc5fff3f@iki.fi1 parentb18b3a8 commitffac8ac
1 file changed
+1
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | 153 | | |
158 | 154 | | |
159 | 155 | | |
| |||
167 | 163 | | |
168 | 164 | | |
169 | 165 | | |
| 166 | + | |
170 | 167 | | |
171 | 168 | | |
172 | 169 | | |
| |||
0 commit comments
Comments
(0)