Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Z9t7I-0008Ee-HT for pgsql-committers@arkaria.postgresql.org; Tue, 30 Jun 2015 10:50:16 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1Z9t7G-00064j-Rd for pgsql-committers@arkaria.postgresql.org; Tue, 30 Jun 2015 10:50:14 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1Z9t6U-0005Cs-CB for pgsql-committers@postgresql.org; Tue, 30 Jun 2015 10:49:26 +0000 Received: from mahout.postgresql.org ([2001:4800:1501:1::227]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.84) (envelope-from ) id 1Z9t6P-0000gZ-OJ for pgsql-committers@postgresql.org; Tue, 30 Jun 2015 10:49:25 +0000 Received: from gemulon.postgresql.org ([2001:4800:1501:1::198]) by mahout.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1Z9t6M-0000eZ-GQ for pgsql-committers@postgresql.org; Tue, 30 Jun 2015 10:49:19 +0000 Received: from git by gemulon.postgresql.org with local (Exim 4.80) (envelope-from ) id 1Z9t6L-0006tu-IF for pgsql-committers@postgresql.org; Tue, 30 Jun 2015 10:49:17 +0000 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 To: pgsql-committers@postgresql.org From: Heikki Linnakangas Subject: pgsql: Add assertion to check the special size is sane before dereferen Message-Id: Date: Tue, 30 Jun 2015 10:49:17 +0000 X-Pg-Spam-Score: -7.5 (-------) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org QWRkIGFzc2VydGlvbiB0byBjaGVjayB0aGUgc3BlY2lhbCBzaXplIGlzIHNh bmUgYmVmb3JlIGRlcmVmZXJlbmNpbmcgaXQuCgpUaGlzIHNlZW1zIHVzZWZ1 bCB0byBjYXRjaCBlcnJvcnMgb2YgdGhlIHNvcnQgSSBqdXN0IGZpeGVkLCB3 aGVyZQpQYWdlR2V0U3BlY2lhbFBvaW50ZXIgaXMgY2FsbGVkIGJlZm9yZSBp bml0aWFsaXppbmcgdGhlIHBhZ2UuCgpCcmFuY2gKLS0tLS0tCm1hc3RlcgoK RGV0YWlscwotLS0tLS0tCmh0dHA6Ly9naXQucG9zdGdyZXNxbC5vcmcvcGcv Y29tbWl0ZGlmZi8zMDJhYzdmMjcxOTc4NTVhZmE4Yzg5ZmFlMzZjODVjMTI0 YWUxNTZiCgpNb2RpZmllZCBGaWxlcwotLS0tLS0tLS0tLS0tLQpzcmMvaW5j bHVkZS9zdG9yYWdlL2J1ZnBhZ2UuaCB8ICAgIDIgKysKMSBmaWxlIGNoYW5n ZWQsIDIgaW5zZXJ0aW9ucygrKQoKCi0tIApTZW50IHZpYSBwZ3NxbC1jb21t aXR0ZXJzIG1haWxpbmcgbGlzdCAocGdzcWwtY29tbWl0dGVyc0Bwb3N0Z3Jl c3FsLm9yZykKVG8gbWFrZSBjaGFuZ2VzIHRvIHlvdXIgc3Vic2NyaXB0aW9u OgpodHRwOi8vd3d3LnBvc3RncmVzcWwub3JnL21haWxwcmVmL3Bnc3FsLWNv bW1pdHRlcnMK