Fixed buffer overflow in mserver; fixed type of checkinfo () 2nd parameter; memory
commit62bd7c9b14d51eb6414a34e742401d1c59fedd2c
authorTomas 'ZeXx86' Jedrzejek <zexx86@gmail.com>
Tue, 30 Mar 2010 18:04:05 +0000 (30 20:04 +0200)
committerTomas 'ZeXx86' Jedrzejek <zexx86@gmail.com>
Tue, 30 Mar 2010 18:04:05 +0000 (30 20:04 +0200)
tree9e0097dcfdb706ebe1f9a6f87746634c62bf40f0
parentc00d2cc4f240e22ed52f9aa5f42e8752140c6560
Fixed buffer overflow in mserver; fixed type of checkinfo () 2nd parameter; memory
allocator kzmem was updated; memory allocator usermem was updated and improved; network
stack was rewrited for preallocated buffers instead allocating new buffers all time -
performance boost; small improvements and bug fixes in network stack - especially TCP
protocol; implemented MTU support into network stack; small security improvements in
scheduler; GMM and ZeXFS, ISOFS filesystems is enabled by default; added new sort of libc
functions; fixed sscanf () libc function; port of DC++ hubsoft LamaHub
37 files changed:
apps/mserver/main.c
kernel/arch/i386/paging.c
kernel/core/init.c
kernel/core/mm/kzmem.c
kernel/core/mm/usermem.c
kernel/core/net/checksum.c
kernel/core/net/ip.c
kernel/core/net/packet.c
kernel/core/net/socket.c
kernel/core/net/tcp.c
kernel/core/net/tcp6.c
kernel/core/net/udp.c
kernel/core/net/udp6.c
kernel/core/sched.c
kernel/core/smp.c
kernel/drivers/Kconfig
kernel/include/net/ip.h
kernel/include/net/packet.h
kernel/include/net/udp.h
kernel/include/paging.h
kernel/lib/sys/select.c
libc/Makefile
libc/include/arpa/inet.h
libc/include/stdlib.h
libc/include/string.h
libc/include/unistd.h
libc/socket/htonl.c [copied from libc/socket/htons.c with 72% similarity]
libc/socket/htons.c
libc/socket/inet_aton.c [copied from libc/socket/inet_ntoa.c with 80% similarity]
libc/socket/inet_ntoa.c
libc/socket/ntohl.c [copied from libc/socket/htons.c with 72% similarity]
libc/socket/ntohs.c [copied from libc/socket/htons.c with 83% similarity]
libc/stdio/dosscanf.c
libc/stdlib/atol.c [copied from libc/socket/inet_ntoa.c with 54% similarity]
libc/stdlib/atoll.c [copied from libc/socket/inet_ntoa.c with 54% similarity]
libc/string/memset.c
libc/string/strtok.c [copied from libc/socket/htons.c with 63% similarity]