mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-15 21:23:10 +00:00
Networking error and overwriting #252
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sidgairo18 on GitHub (Jan 21, 2017).
Originally assigned to: @rkuchumov on GitHub.
overwrite_var: Overwriting handle
sockfdinsockfd = socket(p->ai_family, SOCK_STREAM, p->ai_protocol)leaks the handle.File src.lib_ccx/networking.c function
tcp_bing()@sidgairo18 commented on GitHub (Jan 21, 2017):
@cfsmp3 could you help out with this. Thank you.
@cfsmp3 commented on GitHub (Jan 23, 2017):
I can see the possible leak... This is Ruslan's code so I'm assigning it to him to check out.
@cfsmp3 commented on GitHub (Jan 12, 2018):
Going over this old thing... if seems only possible if setsockopt fails on IPv6 and we continue over the loop to try the next address.
@rkuchumov @sidgairo18
@rkuchumov commented on GitHub (Jan 15, 2018):
According to the manual (setsockopt(2) and ip(7)) it can fail in the following cases:
In this code only 1. is possible, which doesn't require closing the socket.
@cfsmp3 @sidgairo18
@cfsmp3 commented on GitHub (Oct 15, 2018):
Closing due to inactivity