-
Notifications
You must be signed in to change notification settings - Fork 259
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
Create a correctly-sized slice to proxy *uint16 #926
Create a correctly-sized slice to proxy *uint16 #926
Conversation
b00e2d2
to
fe51c0e
Compare
If the change in CI stack version is undesirable, I can back that out, once CI passes. As a less-disruptive alternative we could also roll back to 1.13, and turn on |
Fixes the below issue seen in the containerd test suite. ``` fatal error: checkptr: converted pointer straddles multiple allocations ``` Also adds `-gcflags=all=-d=checkptr` to all the test runs on CI, to avoid this regressing in future. This requires testing with Go 1.14 or newer, so CI now runs on Go 1.15, as Go 1.14 did not recommend using checkptr on Windows. And _that_ requires the Visual Studio 2019 build image on AppVeyor. Signed-off-by: Paul "TBBle" Hampson <[email protected]>
fe51c0e
to
0bb6d5c
Compare
Is the use of |
I'm not sure if there's a preference there or not. This was the minimal change to reproduce the problem. Also, I didn't know it was implicit in |
Yeah I'd prefer to not add back |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Related work items: microsoft#173, microsoft#839, microsoft#856, microsoft#877, microsoft#881, microsoft#886, microsoft#887, microsoft#888, microsoft#889, microsoft#890, microsoft#893, microsoft#894, microsoft#896, microsoft#899, microsoft#900, microsoft#902, microsoft#904, microsoft#905, microsoft#906, microsoft#907, microsoft#908, microsoft#910, microsoft#912, microsoft#913, microsoft#914, microsoft#916, microsoft#918, microsoft#923, microsoft#925, microsoft#926, microsoft#928, microsoft#929, microsoft#932, microsoft#933, microsoft#934, microsoft#938, microsoft#939, microsoft#942, microsoft#943, microsoft#945, microsoft#946, microsoft#947, microsoft#949, microsoft#951, microsoft#952, microsoft#954
Fixes the below issue seen in the containerd test suite.
Also adds
-gcflags=all=-d=checkptr
to all the test runs on CI, to avoid this regressing in future. This requires testing with Go 1.14 or newer, so CI now runs on Go 1.15, as Go 1.14 did not recommend using checkptr on Windows.And Go>1.13 requires the Visual Studio 2019 build image on AppVeyor.