Skip to content

GBAK can write uninitialized data into RDB$RETURN_ARGUMENT and RDB$ARGUMENT_POSITION fields #7869

@dmitry-lipetsk

Description

@dmitry-lipetsk

GBAK does not initialize RDB$RETURN_ARGUMENT, RDB$ARGUMENT_POSITION fields and can write unexpected values into restored database when backup does not have data for ones.

See these two functions:

  1. get_function

    bool get_function(BurpGlobals* tdgbl)

  2. get_function_arg

    void get_function_arg(BurpGlobals* tdgbl, bool skip_arguments)

I offer to add the initialization of these fields with NULL value.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions