~mirabilos/klibc/master

  • Committer: Ben Hutchings
  • Date: 2024-03-21 22:30:45 UTC
  • Revision ID: git-v1:7359f104c202a6e36212324cdd5aba7964737e9d
[klibc] inet: Stricter IPv6 field parsing in inet_pton()

We currently don't range-check the fields of an IPv6 address, so the
following strings are wrongly accepted:

"10000::"
"::10000"

Since we currently only support hexadecimal fields, implement the
range check by limiting the number of digits to 4.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Filename Latest Rev Last Changed Committer Comment Size
..
contrib 951 19 years ago H. Peter Anvin Merge with terminus.zytor.com:/home/hpa/klibc/offi Diff
klcc 971 19 years ago H. Peter Anvin Merge with git+ssh://hera.kernel.org/pub/scm/libs/ Diff
scripts 971 19 years ago H. Peter Anvin Merge with git+ssh://hera.kernel.org/pub/scm/libs/ Diff
usr 971 19 years ago H. Peter Anvin Merge with git+ssh://hera.kernel.org/pub/scm/libs/ Diff
.gitignore 1544 16 years ago H. Peter Anvin klibc: Update .gitignore files Bring the .gitigno 288 bytes Diff Download File
defconfig 2103 5 years ago Ben Hutchings [klibc] arm: Enable CONFIG_ARM_EABI by default Si 211 bytes Diff Download File
File git-rm-for-kernel.sh 1600 14 years ago H. Peter Anvin [klibc] Replace cg-rm-for-kernel.sh with git-rm-fo 362 bytes Diff Download File
Kbuild 1210 18 years ago H. Peter Anvin [klibc] Reorganize the standalone klibc tree to ma 418 bytes Diff Download File
klibc.spec.in 2205 2 years ago Ben Hutchings [klibc] Work around ELF loader bugs when executabl 3.9 KB Diff Download File
Makefile 2170 4 years ago Ben Hutchings [klibc] Move linker option probing to Kbuild.klibc 5.1 KB Diff Download File
README 2097 5 years ago Ben Hutchings [klibc] README: Point the mailing list URL back to 811 bytes Diff Download File