[COMMITTERS] pgsql: Predict integer overflow to avoid buffer overruns.

2014-02-21 Thread Noah Misch
Predict integer overflow to avoid buffer overruns. Several functions, mostly type input functions, calculated an allocation size such that the calculation wrapped to a small positive value when arguments implied a sufficiently-large requirement. Writes past the end of the inadvertent small alloca

[COMMITTERS] pgsql: Predict integer overflow to avoid buffer overruns.

2014-02-21 Thread Noah Misch
Predict integer overflow to avoid buffer overruns. Several functions, mostly type input functions, calculated an allocation size such that the calculation wrapped to a small positive value when arguments implied a sufficiently-large requirement. Writes past the end of the inadvertent small alloca

[COMMITTERS] pgsql: Predict integer overflow to avoid buffer overruns.

2014-02-21 Thread Noah Misch
Predict integer overflow to avoid buffer overruns. Several functions, mostly type input functions, calculated an allocation size such that the calculation wrapped to a small positive value when arguments implied a sufficiently-large requirement. Writes past the end of the inadvertent small alloca

[COMMITTERS] pgsql: Predict integer overflow to avoid buffer overruns.

2014-02-21 Thread Noah Misch
Predict integer overflow to avoid buffer overruns. Several functions, mostly type input functions, calculated an allocation size such that the calculation wrapped to a small positive value when arguments implied a sufficiently-large requirement. Writes past the end of the inadvertent small alloca

[COMMITTERS] pgsql: Predict integer overflow to avoid buffer overruns.

2014-02-21 Thread Noah Misch
Predict integer overflow to avoid buffer overruns. Several functions, mostly type input functions, calculated an allocation size such that the calculation wrapped to a small positive value when arguments implied a sufficiently-large requirement. Writes past the end of the inadvertent small alloca

[COMMITTERS] pgsql: Predict integer overflow to avoid buffer overruns.

2014-02-21 Thread Noah Misch
Predict integer overflow to avoid buffer overruns. Several functions, mostly type input functions, calculated an allocation size such that the calculation wrapped to a small positive value when arguments implied a sufficiently-large requirement. Writes past the end of the inadvertent small alloca