Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vboxsf: silence runtime memcpy() warning #7

Merged

Conversation

YadongQi
Copy link

@YadongQi YadongQi commented Mar 7, 2024

struct SHFLSTRING has a flexible internal array field: String, the size is determined when allocate memory for the structure.

This patch slience the false-positive report:
memcpy: detected field-spanning write (size 23) of single field "&pReq->StrDstPath" at ../modules/VBoxGuestAdditions/vboxguest-6.1.36/vboxsf/dirops.c:1265 (size 6)

Signed-off-by: Yadong Qi yadong.qi@intel.com
Tracked-On: OAM-116537

struct SHFLSTRING has a flexible internal array field: String,
the size is determined when allocate memory for the structure.

This patch slience the false-positive report:
    memcpy: detected field-spanning write (size 23) of single field "&pReq->StrDstPath" at ../modules/VBoxGuestAdditions/vboxguest-6.1.36/vboxsf/dirops.c:1265 (size 6)

Signed-off-by: Yadong Qi <yadong.qi@intel.com>
Tracked-On: OAM-116537
@sysopenci
Copy link

Android CI has started Engineering Build for this issue ,Please check the linked Tracked-On issue/Android CI Web for more details.

@sysopenci
Copy link

SUCCESS: Android CI has completed Engineering Build for this issue.Please check the linked Tracked-On issue/Android CI Web for more details.

@sysopenci
Copy link

Android CI has started MERGE Build for this pr ,Please check the linked Tracked-On issue/Android CI Web for more details.

@sysopenci
Copy link

Android CI has completed MERGE Build for this pr, build is FAILURE. Please check the linked Tracked-On issue/Android CI Web for more details.

@sysopenci
Copy link

Android CI has started MERGE Build for this pr ,Please check the linked Tracked-On issue/Android CI Web for more details.

@sysopenci sysopenci merged commit 8b5d502 into projectceladon:celadon/t/mr0/master Mar 13, 2024
15 checks passed
@sysopenci
Copy link

Android CI has completed MERGE Build for this pr, build is SUCCESS. Please check the linked Tracked-On issue/Android CI Web for more details. For Binaries: /cactus-absp-or-local/celadon_tmr0_master-merge/75

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants