forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf94eec4
committed
When passing query strings to workers, pass the terminating \0.
Otherwise, when the query string is read, we might trailing garbagebeyond the end, unless there happens to be a \0 there by good luck.Report and patch by Thomas Munro. Reviewed by Rafia Sabih.Discussion:http://postgr.es/m/CAEepm=2SJs7X+_vx8QoDu8d1SMEOxtLhxxLNzZun_BvNkuNhrw@mail.gmail.com1 parent7d3583a commitf94eec4
1 file changed
+3
-3
lines changedLines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
597 | 597 |
| |
598 | 598 |
| |
599 | 599 |
| |
600 |
| - | |
| 600 | + | |
601 | 601 |
| |
602 | 602 |
| |
603 | 603 |
| |
| |||
672 | 672 |
| |
673 | 673 |
| |
674 | 674 |
| |
675 |
| - | |
676 |
| - | |
| 675 | + | |
| 676 | + | |
677 | 677 |
| |
678 | 678 |
| |
679 | 679 |
| |
|
0 commit comments
Comments
(0)