Patrick Freeman has uploaded this change for review. ( http://gerrit.cloudera.org:8080/12149
Change subject: Take absolute value of ntp maxerror to avoid undefined behavior from negative values ...................................................................... Take absolute value of ntp maxerror to avoid undefined behavior from negative values The adjtimex system call returns type signed long for maxerror. If negative, Kudu will crash due to wrapping to a large uint64 value. Change-Id: I3fdc5807d227bb3f6f7f039239d1a9755b9a5725 --- M src/kudu/clock/system_ntp.cc 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/49/12149/1 -- To view, visit http://gerrit.cloudera.org:8080/12149 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I3fdc5807d227bb3f6f7f039239d1a9755b9a5725 Gerrit-Change-Number: 12149 Gerrit-PatchSet: 1 Gerrit-Owner: Patrick Freeman <[email protected]>
