Date: Sat, 4 Jun 2016 06:31:16 +0000 (UTC) From: Kurt Jaeger <pi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r416345 - head/databases/cego Message-ID: <201606040631.u546VGmT008723@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pi Date: Sat Jun 4 06:31:16 2016 New Revision: 416345 URL: https://svnweb.freebsd.org/changeset/ports/416345 Log: databases/cego: 2.30.5 -> 2.30.6 The following query can cause a core dump create table t1(a string(100)); insert into t1 values ( 'Hugo Habicht'); insert into t1 values ( 'Kim Kaiser'); select substr(a, 1, getpos(a, ' ')) from t1; For return value length evaluation, the method CegoFieldValue::asInteger is called on a null value which causes the dump. A fix has been added, so the method returns a value of 0 in case of null values. Submitted by: Bjoern Lemke <lemke@lemke-it.com> Modified: head/databases/cego/Makefile head/databases/cego/distinfo Modified: head/databases/cego/Makefile ============================================================================== --- head/databases/cego/Makefile Sat Jun 4 04:55:45 2016 (r416344) +++ head/databases/cego/Makefile Sat Jun 4 06:31:16 2016 (r416345) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= cego -PORTVERSION= 2.30.5 +PORTVERSION= 2.30.6 CATEGORIES= databases MASTER_SITES= http://www.lemke-it.com/ Modified: head/databases/cego/distinfo ============================================================================== --- head/databases/cego/distinfo Sat Jun 4 04:55:45 2016 (r416344) +++ head/databases/cego/distinfo Sat Jun 4 06:31:16 2016 (r416345) @@ -1,3 +1,3 @@ -TIMESTAMP = 1463386167 -SHA256 (cego-2.30.5.tar.gz) = 470bc8f01b09ab1b9ffe06e10081e6e5c5847ff6c2554f06a5b557564fd654cb -SIZE (cego-2.30.5.tar.gz) = 1381414 +TIMESTAMP = 1465021663 +SHA256 (cego-2.30.6.tar.gz) = bdf181176628fff821f64d0b690446488ae22b1323c9ec363b4d6bcc868e186c +SIZE (cego-2.30.6.tar.gz) = 1396776
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606040631.u546VGmT008723>