You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Looks like the stubs are checking input values vs successful UT_GetDataBuffer, which doesn't make sense to me since it's used to decide if the buffer values should be used or not:
/* Backup -- Set the pointer and size to anything */
*PtrToKernelSegment= (cpuaddr)&LocalTextSegment;
*SizeOfKernelSegment=sizeof(LocalTextSegment);
}
else
{
*PtrToKernelSegment= (cpuaddr)TempAddr;
*SizeOfKernelSegment=TempSize;
}
To Reproduce
You'll get an uninitialized error on the input pointer if not already set, if it's nonzero and you don't set the buffer that will utilize the Temp values which doesn't make sense to me.
Expected behavior
Use buffer values if passed in, otherwise use local dummy segment.
System observed on:
N/A
Reporter Info
Jacob Hageman - NASA/GSFC
The text was updated successfully, but these errors were encountered:
Describe the bug
Looks like the stubs are checking input values vs successful UT_GetDataBuffer, which doesn't make sense to me since it's used to decide if the buffer values should be used or not:
PSP/ut-stubs/ut_psp_stubs.c
Lines 559 to 570 in 1bd7bd9
PSP/ut-stubs/ut_psp_stubs.c
Lines 604 to 615 in 1bd7bd9
To Reproduce
You'll get an uninitialized error on the input pointer if not already set, if it's nonzero and you don't set the buffer that will utilize the Temp values which doesn't make sense to me.
Expected behavior
Use buffer values if passed in, otherwise use local dummy segment.
System observed on:
N/A
Reporter Info
Jacob Hageman - NASA/GSFC
The text was updated successfully, but these errors were encountered: