pike.git/
lib/
modules/
Sql.pmod/
pgsql_util.pmod
Branch:
Tag:
Non-build tags
All tags
No tags
2017-12-13
2017-12-13 12:40:32 by Stephen R. van den Berg <srb@cuci.nl>
7a97fb63ab0d5ee8cadf588827d57806d5bf5149 (
7
lines) (+
4
/-
3
)
[
Show
|
Annotate
]
Branch:
master
pgsql: Need to read signed integers to get correct offsets.
959:
switch (cr->read_int8()) { case 1: from = till = 0; break;
-
case 0x12: from = cr->read_
hint
(
4
);
+
case 0x12: from = cr->read_
sint
(
cr->read_int32(
)
)
;
break;
-
case 2: from = cr->read_
hint
(
4
);
-
case 8: till = cr->read_
hint
(
4
);
+
case 2: from = cr->read_
sint
(
cr->read_int32(
)
)
;
+
case 8: till = cr->read_
sint
(
cr->read_int32(
)
)
;
} if (totype[0]) { if (intp(from)) {