Skip to content
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

Fix: LibC definition for sys/socket.h (*-linux-gnu targets) #13242

Merged
merged 2 commits into from
Mar 31, 2023

Conversation

ysbaddaden
Copy link
Contributor

@ysbaddaden ysbaddaden commented Mar 29, 2023

I introduced a buggy LibC definition of sys/socket.h in December 2016 (see 56dec21) that was only recently noticed (#12982) and identified (#12982 (comment)).

I'm amazed it went undetected for 6 years.

closes #12982

I introduced a buggy LibC definition of `sys/socket.h` in December 2023 (see 56dec21) that was only recently noticed (crystal-lang#12982) and identified (crystal-lang#12982 (comment)).
@Blacksmoke16 Blacksmoke16 added kind:bug topic:stdlib:networking kind:regression Something that used to correctly work but no longer works and removed topic:stdlib:networking labels Mar 29, 2023
@beta-ziliani
Copy link
Member

i don't think a 6yo regression should count as such 😆

@Blacksmoke16 Blacksmoke16 removed the kind:regression Something that used to correctly work but no longer works label Mar 29, 2023
Just for the sake of correctness (`int` is the same size as `size_t` on i386).
@ysbaddaden ysbaddaden changed the title Fix: LibC definition for sys/socket.h (x86_64-linux-gnu target) Fix: LibC definition for sys/socket.h (*-linux-gnu target) Mar 29, 2023
@ysbaddaden ysbaddaden changed the title Fix: LibC definition for sys/socket.h (*-linux-gnu target) Fix: LibC definition for sys/socket.h (*-linux-gnu targets) Mar 29, 2023
@beta-ziliani beta-ziliani added this to the 1.8.0 milestone Mar 30, 2023
@straight-shoota straight-shoota merged commit 8a1b075 into crystal-lang:master Mar 31, 2023
@ysbaddaden ysbaddaden deleted the patch-1 branch March 31, 2023 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Index out of bounds when printing large body to HTTP response on Ubuntu in release mode
4 participants