forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit5e8e009
committed
Again match pg_user_mappings to information_schema.user_mapping_options.
Commit3eefc51 claimed to makepg_user_mappings enforce the qualifications user_mapping_options hadbeen enforcing, but its removal of a longstanding restriction left themdistinct when the current user is the subject of a mapping yet has noserver privileges. user_mapping_options emits no rows for such amapping, but pg_user_mappings includes full umoptions. Changepg_user_mappings to show null for umoptions. Back-patch to 9.2, likethe above commit.Reviewed by Tom Lane. Reported by Jeff Janes.Security:CVE-2017-75471 parentb2f833e commit5e8e009
File tree
5 files changed
+856
-829
lines changed- doc/src/sgml
- src
- backend/catalog
- test/regress
- expected
- sql
5 files changed
+856
-829
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9211 | 9211 | | |
9212 | 9212 | | |
9213 | 9213 | | |
9214 | | - | |
9215 | | - | |
9216 | | - | |
9217 | | - | |
9218 | | - | |
9219 | | - | |
| 9214 | + | |
9220 | 9215 | | |
9221 | 9216 | | |
9222 | 9217 | | |
9223 | 9218 | | |
9224 | 9219 | | |
| 9220 | + | |
| 9221 | + | |
| 9222 | + | |
| 9223 | + | |
| 9224 | + | |
| 9225 | + | |
| 9226 | + | |
| 9227 | + | |
| 9228 | + | |
| 9229 | + | |
| 9230 | + | |
| 9231 | + | |
| 9232 | + | |
| 9233 | + | |
| 9234 | + | |
| 9235 | + | |
| 9236 | + | |
| 9237 | + | |
| 9238 | + | |
| 9239 | + | |
| 9240 | + | |
| 9241 | + | |
| 9242 | + | |
| 9243 | + | |
| 9244 | + | |
9225 | 9245 | | |
9226 | 9246 | | |
9227 | 9247 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
696 | 696 | | |
697 | 697 | | |
698 | 698 | | |
699 | | - | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
700 | 702 | | |
701 | 703 | | |
702 | 704 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1142 | 1142 | | |
1143 | 1143 | | |
1144 | 1144 | | |
| 1145 | + | |
| 1146 | + | |
1145 | 1147 | | |
1146 | 1148 | | |
1147 | | - | |
1148 | | - | |
| 1149 | + | |
1149 | 1150 | | |
1150 | 1151 | | |
1151 | 1152 | | |
| |||
1161 | 1162 | | |
1162 | 1163 | | |
1163 | 1164 | | |
1164 | | - | |
1165 | | - | |
| 1165 | + | |
| 1166 | + | |
1166 | 1167 | | |
1167 | 1168 | | |
1168 | 1169 | | |
1169 | 1170 | | |
1170 | 1171 | | |
| 1172 | + | |
1171 | 1173 | | |
1172 | 1174 | | |
1173 | 1175 | | |
1174 | 1176 | | |
1175 | 1177 | | |
1176 | 1178 | | |
1177 | 1179 | | |
1178 | | - | |
| 1180 | + | |
1179 | 1181 | | |
1180 | 1182 | | |
1181 | | - | |
| 1183 | + | |
1182 | 1184 | | |
1183 | 1185 | | |
1184 | 1186 | | |
1185 | 1187 | | |
1186 | 1188 | | |
| 1189 | + | |
1187 | 1190 | | |
1188 | 1191 | | |
1189 | 1192 | | |
1190 | 1193 | | |
1191 | 1194 | | |
1192 | 1195 | | |
1193 | 1196 | | |
1194 | | - | |
| 1197 | + | |
1195 | 1198 | | |
1196 | | - | |
| 1199 | + | |
1197 | 1200 | | |
1198 | 1201 | | |
1199 | 1202 | | |
1200 | 1203 | | |
1201 | 1204 | | |
1202 | 1205 | | |
| 1206 | + | |
1203 | 1207 | | |
1204 | 1208 | | |
1205 | 1209 | | |
1206 | 1210 | | |
1207 | 1211 | | |
1208 | 1212 | | |
1209 | 1213 | | |
1210 | | - | |
| 1214 | + | |
1211 | 1215 | | |
1212 | 1216 | | |
| 1217 | + | |
1213 | 1218 | | |
1214 | | - | |
| 1219 | + | |
| 1220 | + | |
1215 | 1221 | | |
1216 | 1222 | | |
1217 | 1223 | | |
| |||
1236 | 1242 | | |
1237 | 1243 | | |
1238 | 1244 | | |
1239 | | - | |
1240 | | - | |
1241 | 1245 | | |
1242 | 1246 | | |
1243 | 1247 | | |
1244 | | - | |
1245 | 1248 | | |
1246 | 1249 | | |
1247 | | - | |
1248 | | - | |
| 1250 | + | |
1249 | 1251 | | |
1250 | 1252 | | |
1251 | 1253 | | |
| |||
0 commit comments
Comments
(0)