Skip site navigation (1) Skip section navigation (2)

BUG #2445: incompatibility: realloc <> repalloc

From: "" <friedrich_sperling(at)web(dot)de>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #2445: incompatibility: realloc <> repalloc
Date: 2006-05-19 22:00:27
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
The following bug has been logged online:

Bug reference:      2445
Logged by:          
Email address:      friedrich_sperling(at)web(dot)de
PostgreSQL version: 8.1.3
Operating system:   Debien GNU/Linux Etch
Description:        incompatibility: realloc <> repalloc

it seems that there is a little difference in the handeling of standard
library's realloc and the postgresql repalloc functions, which might be
if the realloc funtion receives a NULL pointer as first argument, it works
just like the malloc function,
whereas the repalloc function crashes the server.


pgsql-bugs by date

Next:From: StephenDate: 2006-05-20 01:06:13
Subject: BUG #2446: FATAL: Could not write to statistics collector pipe.
Previous:From: Tom LaneDate: 2006-05-19 14:18:19
Subject: Re: BUG #2443: 1 hour error at date calculation

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group