forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitdd96d13
committed
Add range checks to time_recv() and timetz_recv(), to prevent binary input
of time values that would not be accepted via textual input.Per gripe from Andrew McNamara.This is potentially a back-patchable bug fix, but for the moment it doesn'tseem sufficiently high impact to justify doing that.1 parentc3707a4 commitdd96d13
1 file changed
+29
-1
lines changedLines changed: 29 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
1088 | 1088 |
| |
1089 | 1089 |
| |
1090 | 1090 |
| |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
1091 | 1096 |
| |
1092 | 1097 |
| |
| 1098 | + | |
| 1099 | + | |
| 1100 | + | |
| 1101 | + | |
| 1102 | + | |
1093 | 1103 |
| |
1094 | 1104 |
| |
1095 | 1105 |
| |
| |||
1853 | 1863 |
| |
1854 | 1864 |
| |
1855 | 1865 |
| |
| 1866 | + | |
| 1867 | + | |
| 1868 | + | |
| 1869 | + | |
| 1870 | + | |
1856 | 1871 |
| |
1857 | 1872 |
| |
| 1873 | + | |
| 1874 | + | |
| 1875 | + | |
| 1876 | + | |
| 1877 | + | |
1858 | 1878 |
| |
| 1879 | + | |
1859 | 1880 |
| |
1860 | 1881 |
| |
| 1882 | + | |
| 1883 | + | |
| 1884 | + | |
| 1885 | + | |
| 1886 | + | |
| 1887 | + | |
| 1888 | + | |
1861 | 1889 |
| |
1862 | 1890 |
| |
1863 | 1891 |
| |
|
0 commit comments
Comments
(0)