2018-06-22 15:53:39

by Trond Myklebust

[permalink] [raw]
Subject: Re: UBSAN: Undefined behaviour in net/sunrpc/xprt.c:568

T24gRnJpLCAyMDE4LTA2LTIyIGF0IDIzOjM5ICswODAwLCBhaXIgaWN5IHdyb3RlOg0KPiBIaSwN
Cj4gSXQgc2VlbXMgbGlrZSB0aGF0IHRvLT50b19yZXRyaWVzIHRvIGxhcmdlIHdoaWxlIHNoaWZ0
IGV4cG9uZW50Lg0KPiAJaWYgKHRvLT50b19leHBvbmVudGlhbCkNCj4gCQlyZXEtPnJxX21ham9y
dGltZW8gPDw9IHRvLT50b19yZXRyaWVzOw0KPiAJZWxzZQ0KPiANCj4gPT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09DQo+
ID09PT09PT09PT09DQo+IFVCU0FOOiBVbmRlZmluZWQgYmVoYXZpb3VyIGluIG5ldC9zdW5ycGMv
eHBydC5jOjU2ODoyMg0KPiBzaGlmdCBleHBvbmVudCA1MzY4NzA5NzYgaXMgdG9vIGxhcmdlIGZv
ciA2NC1iaXQgdHlwZSAnbG9uZyB1bnNpZ25lZA0KPiBpbnQnDQo+IENQVTogMCBQSUQ6IDIxMjE5
IENvbW06IHN5ei1leGVjdXRvcjEgTm90IHRhaW50ZWQgNC4xOC4wLXJjMSAjMg0KPiBIYXJkd2Fy
ZSBuYW1lOiBRRU1VIFN0YW5kYXJkIFBDIChpNDQwRlggKyBQSUlYLCAxOTk2KSwgQklPUyByZWwt
DQo+IDEuMTAuMi0wLWc1ZjRjN2IxLXByZWJ1aWx0LnFlbXUtcHJvamVjdC5vcmcgMDQvMDEvMjAx
NA0KPiBDYWxsIFRyYWNlOg0KPiAgX19kdW1wX3N0YWNrIGxpYi9kdW1wX3N0YWNrLmM6NzcgW2lu
bGluZV0NCj4gIGR1bXBfc3RhY2srMHgxMjIvMHgxYzggbGliL2R1bXBfc3RhY2suYzoxMTMNCj4g
IHVic2FuX2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