mailing list of musl libc
 help / color / mirror / code / Atom feed
* 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

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).