drieber@google.com has uploaded this change for review.

View Change

Fix bit shifting issue reported by UBSAN. The issue is (1 << 31) is acting on a signed integer (with value 1) and so shifting left 31 bits is undefined.

Change-Id: I8df16d610bb3d7d1c754ba973a9a24b303056e79
Signed-off-by: David Rieber <drieber@google.com>
---
M src/include/nfs_proto_tools.h
1 file changed, 5 insertions(+), 4 deletions(-)

git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/05/1170205/1

To view, visit change 1170205. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I8df16d610bb3d7d1c754ba973a9a24b303056e79
Gerrit-Change-Number: 1170205
Gerrit-PatchSet: 1
Gerrit-Owner: drieber@google.com
Gerrit-MessageType: newchange