Skip to content

Fix -Wstringop-overflow warnings in fs/smb/client/cifssmb.c #310

@GustavoARSilva

Description

@GustavoARSilva

Found in powerpc64 and s390 (and a couple more archs).

fs/smb/client/cifssmb.c:2987:31: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
fs/smb/client/cifssmb.c:2988:30: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]

Metadata

Metadata

Labels

-Wstringop-overflowEmits warnings under -Wstringop-overflow[PATCH] ExistsA patch exists to address the issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions