Skip to content

Possible illegal memory access due to uninitialized variable usage #790

@Parag2490

Description

@Parag2490

Dear all,

 

We have come across a possible bug in the below API's code.

 

API Varaible_name
zhbgvx indibl
chbgvx indibl
dsbgvx indibl
ssbgvx indibl
sstevx indibl
dstevx indibl
dspevx indibl
chpevx indibl
sspevx indibl
zhpevx indibl
   
chptrf kpc
zhptrf kpc
ssptrf kpc
dsptrf kpc
csptrf kpc
zsptrf kpc

 

 

Where variable is initialized only for particular condition and these variable are used for

Reading the data for unintalized index value.

 

Uninitialized could point to random locations in memory and create problems that memory might be used by some other program.

 

Example: In ssbgvx()

 

Here "indibl" variable is initialized after goto statement for condition.

image

unintialized_1

unintialized_2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions