
|
If you were logged in you would be able to see more operations.
|
|
|
Firebird Core
Created: 14/Jun/08 05:59 PM
Updated: 10/Jul/08 09:18 PM
|
|
| Component/s: |
Engine,
UDF
|
| Affects Version/s: |
2.0.4,
2.1.0,
2.1 RC2,
2.5 Initial,
2.1 RC1,
1.5.5,
2.1 Beta 2,
2.0.3,
2.0.2,
2.1 Beta 1,
2.1 Alpha 1,
2.0.1,
1.5.4,
2.0.0,
1.0.3
|
| Fix Version/s: |
2.5 Beta 1
|
|
|
Original Estimate:
|
Unknown
|
Remaining Estimate:
|
Unknown
|
Time Spent:
|
Unknown
|
|
File Attachments:
|
1.
libtest.tar (1 kb)
|
|
| Resolution Date: |
14/Jun/08
|
| Planning Status: |
Unspecified
|
|
When a UDF declared as FREE_IT returns a pointer not allocated by the same runtime of the server, a crash occurs when the server calls free(pointer).
Solution is creation of ib_util_free that verifies if the passed pointer was allocated by ib_util_malloc. When it wasn't, an exception is thrown and the pointer is not freed.
|
|
Description
|
When a UDF declared as FREE_IT returns a pointer not allocated by the same runtime of the server, a crash occurs when the server calls free(pointer).
Solution is creation of ib_util_free that verifies if the passed pointer was allocated by ib_util_malloc. When it wasn't, an exception is thrown and the pointer is not freed. |
Show » |
|