* getprotobynumber() misses IPv6 support
@ 2014-02-01 9:28 orc
2014-02-13 13:25 ` orc
0 siblings, 1 reply; 3+ messages in thread
From: orc @ 2014-02-01 9:28 UTC (permalink / raw)
To: musl
[-- Attachment #1: Type: text/plain, Size: 345 bytes --]
getprotobynumber() should return valid data at least for IPPROTO_IPV6 and IPPROTO_ICMPV6. Without this, getprptobynumber() seeks somewhere beyond limits and causes segfaults somewhere, somewhere returns random string (is there a typo between "\377raw" and "\0\0" missing comma?).
"do we really need all these??"
At least core IPv6 is needed :-)
[-- Attachment #2: musl-0.9.15-getproto-v6.patch --]
[-- Type: */*, Size: 386 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: getprotobynumber() misses IPv6 support
2014-02-01 9:28 getprotobynumber() misses IPv6 support orc
@ 2014-02-13 13:25 ` orc
2014-02-13 17:23 ` Rich Felker
0 siblings, 1 reply; 3+ messages in thread
From: orc @ 2014-02-13 13:25 UTC (permalink / raw)
To: musl
1 февраля 2014 г. 17:28:55 KRAT, orc <orc@sibserver.ru> пишет:
>getprotobynumber() should return valid data at least for IPPROTO_IPV6
>and IPPROTO_ICMPV6. Without this, getprptobynumber() seeks somewhere
>beyond limits and causes segfaults somewhere, somewhere returns random
>string (is there a typo between "\377raw" and "\0\0" missing comma?).
>
>"do we really need all these??"
>At least core IPv6 is needed :-)
Any thoughts on this?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: getprotobynumber() misses IPv6 support
2014-02-13 13:25 ` orc
@ 2014-02-13 17:23 ` Rich Felker
0 siblings, 0 replies; 3+ messages in thread
From: Rich Felker @ 2014-02-13 17:23 UTC (permalink / raw)
To: musl
On Thu, Feb 13, 2014 at 09:25:42PM +0800, orc wrote:
> 1 февраля 2014 г. 17:28:55 KRAT, orc <orc@sibserver.ru> пишет:
> >getprotobynumber() should return valid data at least for IPPROTO_IPV6
> >and IPPROTO_ICMPV6. Without this, getprptobynumber() seeks somewhere
> >beyond limits and causes segfaults somewhere, somewhere returns random
> >string (is there a typo between "\377raw" and "\0\0" missing comma?).
> >
> >"do we really need all these??"
> >At least core IPv6 is needed :-)
>
> Any thoughts on this?
Yes, I meant to reply earlier. More interesting is that you caught the
missing comma bug. :-) I'll check it over and apply it now if it's ok
or get back to you soon.
Rich
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-02-13 17:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-01 9:28 getprotobynumber() misses IPv6 support orc
2014-02-13 13:25 ` orc
2014-02-13 17:23 ` Rich Felker
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).