pg.ddx.io pgsql-committers@postgresql.org mailing list archive
help / color / mirror / Atom feedpgsql: This routine was calling ecpg_alloc to allocate to memory but di
9+ messages / 2 participants
[nested] [flat]
* pgsql: This routine was calling ecpg_alloc to allocate to memory but di
@ 2015-02-05 14:14 Michael Meskes <meskes@postgresql.org>
2015-07-23 07:19 ` Re: pgsql: This routine was calling ecpg_alloc to allocate to memory but di Michael Paquier <michael.paquier@gmail.com>
0 siblings, 1 reply; 9+ messages in thread
From: Michael Meskes @ 2015-02-05 14:14 UTC (permalink / raw)
To: pgsql-committers
This routine was calling ecpg_alloc to allocate to memory but did not
actually check the returned pointer allocated, potentially NULL which
could be the result of a malloc call.
Issue noted by Coverity, fixed by Michael Paquier <michael@otacoo.com>
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/5ee5bc387319b9ac33083bacebd3ab7046666328
Modified Files
--------------
src/interfaces/ecpg/ecpglib/descriptor.c | 6 ++----
src/interfaces/ecpg/ecpglib/execute.c | 6 ++----
src/interfaces/ecpg/ecpglib/extern.h | 4 ++--
src/interfaces/ecpg/ecpglib/memory.c | 22 +++++++++++++++++++++-
4 files changed, 27 insertions(+), 11 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 9+ messages in thread
* Re: pgsql: This routine was calling ecpg_alloc to allocate to memory but di
2015-02-05 14:14 pgsql: This routine was calling ecpg_alloc to allocate to memory but di Michael Meskes <meskes@postgresql.org>
@ 2015-07-23 07:19 ` Michael Paquier <michael.paquier@gmail.com>
2015-08-12 11:59 ` Re: pgsql: This routine was calling ecpg_alloc to allocate to memory but di Michael Meskes <meskes@postgresql.org>
0 siblings, 1 reply; 9+ messages in thread
From: Michael Paquier @ 2015-07-23 07:19 UTC (permalink / raw)
To: Michael Meskes <meskes@postgresql.org>; +Cc: pgsql-committers
On Thu, Feb 5, 2015 at 11:14 PM, Michael Meskes <meskes@postgresql.org> wrote:
> This routine was calling ecpg_alloc to allocate to memory but did not
> actually check the returned pointer allocated, potentially NULL which
> could be the result of a malloc call.
>
> Issue noted by Coverity, fixed by Michael Paquier <michael@otacoo.com>
Coming back to it, perhaps this meritates a backpatch? Even if that's
unlikely to happen...
--
Michael
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 9+ messages in thread
* Re: pgsql: This routine was calling ecpg_alloc to allocate to memory but di
2015-02-05 14:14 pgsql: This routine was calling ecpg_alloc to allocate to memory but di Michael Meskes <meskes@postgresql.org>
2015-07-23 07:19 ` Re: pgsql: This routine was calling ecpg_alloc to allocate to memory but di Michael Paquier <michael.paquier@gmail.com>
@ 2015-08-12 11:59 ` Michael Meskes <meskes@postgresql.org>
2015-08-12 12:28 ` Re: pgsql: This routine was calling ecpg_alloc to allocate to memory but di Michael Paquier <michael.paquier@gmail.com>
0 siblings, 1 reply; 9+ messages in thread
From: Michael Meskes @ 2015-08-12 11:59 UTC (permalink / raw)
To: Michael Paquier <michael.paquier@gmail.com>; +Cc: pgsql-committers
On 23.07.2015 09:19, Michael Paquier wrote:
> On Thu, Feb 5, 2015 at 11:14 PM, Michael Meskes <meskes@postgresql.org> wrote:
>> This routine was calling ecpg_alloc to allocate to memory but did not
>> actually check the returned pointer allocated, potentially NULL which
>> could be the result of a malloc call.
>>
>> Issue noted by Coverity, fixed by Michael Paquier <michael@otacoo.com>
>
> Coming back to it, perhaps this meritates a backpatch? Even if that's
> unlikely to happen...
cherry-picked and pushed to all back branches.
Sorry, the disadvantage of testing in master for a while, I simply
forgot about this change.
Michael
--
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Meskes at (Debian|Postgresql) dot Org
Jabber: michael.meskes at gmail dot com
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 9+ messages in thread
* Re: pgsql: This routine was calling ecpg_alloc to allocate to memory but di
2015-02-05 14:14 pgsql: This routine was calling ecpg_alloc to allocate to memory but di Michael Meskes <meskes@postgresql.org>
2015-07-23 07:19 ` Re: pgsql: This routine was calling ecpg_alloc to allocate to memory but di Michael Paquier <michael.paquier@gmail.com>
2015-08-12 11:59 ` Re: pgsql: This routine was calling ecpg_alloc to allocate to memory but di Michael Meskes <meskes@postgresql.org>
@ 2015-08-12 12:28 ` Michael Paquier <michael.paquier@gmail.com>
0 siblings, 0 replies; 9+ messages in thread
From: Michael Paquier @ 2015-08-12 12:28 UTC (permalink / raw)
To: Michael Meskes <meskes@postgresql.org>; +Cc: pgsql-committers
On Wed, Aug 12, 2015 at 8:59 PM, Michael Meskes <meskes@postgresql.org> wrote:
> On 23.07.2015 09:19, Michael Paquier wrote:
>> On Thu, Feb 5, 2015 at 11:14 PM, Michael Meskes <meskes@postgresql.org> wrote:
>>> This routine was calling ecpg_alloc to allocate to memory but did not
>>> actually check the returned pointer allocated, potentially NULL which
>>> could be the result of a malloc call.
>>>
>>> Issue noted by Coverity, fixed by Michael Paquier <michael@otacoo.com>
>>
>> Coming back to it, perhaps this meritates a backpatch? Even if that's
>> unlikely to happen...
>
> cherry-picked and pushed to all back branches.
>
> Sorry, the disadvantage of testing in master for a while, I simply
> forgot about this change.
No pb. Thanks! I forgot myself...
--
Michael
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 9+ messages in thread
* pgsql: This routine was calling ecpg_alloc to allocate to memory but di
@ 2015-08-12 11:58 Michael Meskes <meskes@postgresql.org>
0 siblings, 0 replies; 9+ messages in thread
From: Michael Meskes @ 2015-08-12 11:58 UTC (permalink / raw)
To: pgsql-committers
This routine was calling ecpg_alloc to allocate to memory but did not
actually check the returned pointer allocated, potentially NULL which
could be the result of a malloc call.
Issue noted by Coverity, fixed by Michael Paquier <michael@otacoo.com>
Branch
------
REL9_4_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/157d40640cdd885b72f27db358ba66d12feaec7d
Modified Files
--------------
src/interfaces/ecpg/ecpglib/descriptor.c | 6 ++----
src/interfaces/ecpg/ecpglib/execute.c | 6 ++----
src/interfaces/ecpg/ecpglib/extern.h | 4 ++--
src/interfaces/ecpg/ecpglib/memory.c | 22 +++++++++++++++++++++-
4 files changed, 27 insertions(+), 11 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 9+ messages in thread
* pgsql: This routine was calling ecpg_alloc to allocate to memory but di
@ 2015-08-12 11:58 Michael Meskes <meskes@postgresql.org>
0 siblings, 0 replies; 9+ messages in thread
From: Michael Meskes @ 2015-08-12 11:58 UTC (permalink / raw)
To: pgsql-committers
This routine was calling ecpg_alloc to allocate to memory but did not
actually check the returned pointer allocated, potentially NULL which
could be the result of a malloc call.
Issue noted by Coverity, fixed by Michael Paquier <michael@otacoo.com>
Branch
------
REL9_3_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/ed089d2fec8dde61d169f1f67a96e099425e77c7
Modified Files
--------------
src/interfaces/ecpg/ecpglib/descriptor.c | 6 ++----
src/interfaces/ecpg/ecpglib/execute.c | 6 ++----
src/interfaces/ecpg/ecpglib/extern.h | 4 ++--
src/interfaces/ecpg/ecpglib/memory.c | 22 +++++++++++++++++++++-
4 files changed, 27 insertions(+), 11 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 9+ messages in thread
* pgsql: This routine was calling ecpg_alloc to allocate to memory but di
@ 2015-08-12 11:58 Michael Meskes <meskes@postgresql.org>
0 siblings, 0 replies; 9+ messages in thread
From: Michael Meskes @ 2015-08-12 11:58 UTC (permalink / raw)
To: pgsql-committers
This routine was calling ecpg_alloc to allocate to memory but did not
actually check the returned pointer allocated, potentially NULL which
could be the result of a malloc call.
Issue noted by Coverity, fixed by Michael Paquier <michael@otacoo.com>
Branch
------
REL9_2_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/e0ca86aa98de9c60815d3717b92b62a9f2c0c07d
Modified Files
--------------
src/interfaces/ecpg/ecpglib/descriptor.c | 6 ++----
src/interfaces/ecpg/ecpglib/execute.c | 6 ++----
src/interfaces/ecpg/ecpglib/extern.h | 4 ++--
src/interfaces/ecpg/ecpglib/memory.c | 22 +++++++++++++++++++++-
4 files changed, 27 insertions(+), 11 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 9+ messages in thread
* pgsql: This routine was calling ecpg_alloc to allocate to memory but di
@ 2015-08-12 11:58 Michael Meskes <meskes@postgresql.org>
0 siblings, 0 replies; 9+ messages in thread
From: Michael Meskes @ 2015-08-12 11:58 UTC (permalink / raw)
To: pgsql-committers
This routine was calling ecpg_alloc to allocate to memory but did not
actually check the returned pointer allocated, potentially NULL which
could be the result of a malloc call.
Issue noted by Coverity, fixed by Michael Paquier <michael@otacoo.com>
Branch
------
REL9_1_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/a2b2565fc9318b8903ef4821bc0be40a64810aec
Modified Files
--------------
src/interfaces/ecpg/ecpglib/descriptor.c | 6 ++----
src/interfaces/ecpg/ecpglib/execute.c | 6 ++----
src/interfaces/ecpg/ecpglib/extern.h | 4 ++--
src/interfaces/ecpg/ecpglib/memory.c | 22 +++++++++++++++++++++-
4 files changed, 27 insertions(+), 11 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 9+ messages in thread
* pgsql: This routine was calling ecpg_alloc to allocate to memory but di
@ 2015-08-12 11:58 Michael Meskes <meskes@postgresql.org>
0 siblings, 0 replies; 9+ messages in thread
From: Michael Meskes @ 2015-08-12 11:58 UTC (permalink / raw)
To: pgsql-committers
This routine was calling ecpg_alloc to allocate to memory but did not
actually check the returned pointer allocated, potentially NULL which
could be the result of a malloc call.
Issue noted by Coverity, fixed by Michael Paquier <michael@otacoo.com>
Branch
------
REL9_0_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/d4215954747e5463ea5c161aa776040ec45c40e4
Modified Files
--------------
src/interfaces/ecpg/ecpglib/descriptor.c | 6 ++----
src/interfaces/ecpg/ecpglib/execute.c | 6 ++----
src/interfaces/ecpg/ecpglib/extern.h | 4 ++--
src/interfaces/ecpg/ecpglib/memory.c | 22 +++++++++++++++++++++-
4 files changed, 27 insertions(+), 11 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 9+ messages in thread
end of thread, other threads:[~2015-08-12 12:28 UTC | newest]
Thread overview: 9+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-02-05 14:14 pgsql: This routine was calling ecpg_alloc to allocate to memory but di Michael Meskes <meskes@postgresql.org>
2015-07-23 07:19 ` Michael Paquier <michael.paquier@gmail.com>
2015-08-12 11:59 ` Michael Meskes <meskes@postgresql.org>
2015-08-12 12:28 ` Michael Paquier <michael.paquier@gmail.com>
2015-08-12 11:58 pgsql: This routine was calling ecpg_alloc to allocate to memory but di Michael Meskes <meskes@postgresql.org>
2015-08-12 11:58 pgsql: This routine was calling ecpg_alloc to allocate to memory but di Michael Meskes <meskes@postgresql.org>
2015-08-12 11:58 pgsql: This routine was calling ecpg_alloc to allocate to memory but di Michael Meskes <meskes@postgresql.org>
2015-08-12 11:58 pgsql: This routine was calling ecpg_alloc to allocate to memory but di Michael Meskes <meskes@postgresql.org>
2015-08-12 11:58 pgsql: This routine was calling ecpg_alloc to allocate to memory but di Michael Meskes <meskes@postgresql.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox