mirror of
https://github.com/postgres/postgres.git
synced 2025-05-02 11:44:50 +03:00
Fixed possible segfault in type.c (by Juergen Cappel)
This commit is contained in:
parent
80683f2a07
commit
047a2cecff
@ -1765,6 +1765,10 @@ Sun Mar 14 12:59:15 CET 2004
|
|||||||
- Fixed Informix compat math functions to cope with the situations
|
- Fixed Informix compat math functions to cope with the situations
|
||||||
where one argument takes the result.
|
where one argument takes the result.
|
||||||
- Applied thread patches by Lee Kindness
|
- Applied thread patches by Lee Kindness
|
||||||
|
|
||||||
|
Mon Mar 29 17:02:52 CEST 2004
|
||||||
|
|
||||||
|
- Fixed possible segfault in type.c (by Juergen Cappel)
|
||||||
- Set pgtypes library version to 1.2.
|
- Set pgtypes library version to 1.2.
|
||||||
- Set ecpg version to 3.2.0.
|
- Set ecpg version to 3.2.0.
|
||||||
- Set compat library version to 1.2.
|
- Set compat library version to 1.2.
|
||||||
|
@ -321,7 +321,7 @@ ECPGdump_a_simple(FILE *o, const char *name, enum ECPGttype type,
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
char *variable = (char *) mm_alloc(strlen(name) + ((prefix == NULL) ? 0 : strlen(prefix)) + 4);
|
char *variable = (char *) mm_alloc(strlen(name) + ((prefix == NULL) ? 0 : strlen(prefix)) + 4);
|
||||||
char *offset = (char *) mm_alloc(strlen(name) + strlen("sizeof(struct varchar_)") + 1);
|
char *offset = (char *) mm_alloc(strlen(name) + strlen("sizeof(struct varchar_)") + 1 + strlen(varcharsize));
|
||||||
|
|
||||||
switch (type)
|
switch (type)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user