]> git.ipfire.org Git - thirdparty/glibc.git/commit - sysdeps/unix/sysv/linux/check_pf.c
[BZ #4181]
authorUlrich Drepper <drepper@redhat.com>
Thu, 15 Mar 2007 20:05:19 +0000 (20:05 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 15 Mar 2007 20:05:19 +0000 (20:05 +0000)
commit6cb988fa7b81cd5f850c3f31fbae318a1df63521
tree26930174d009a8c58f2ed1b5f3e9f9ff089e09c6
parent02c906999c8500a43005e47f5810883b3a5189d8
[BZ #4181]

2007-03-15  Jakub Jelinek  <jakub@redhat.com>
[BZ #4181]
* inet/inet6_opt.c (add_padding): Only insert padding if npad > 0.
(inet6_opt_append): Don't check extlen is big enough if extbuf
is NULL.
(inet6_opt_finish): Likewise.
* inet/Makefile (tests): Add test-inet6_opt.
* inet/test-inet6_opt.c: New test.

* sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Never
reallocate the buffer, instead fail for MSG_TRUNC or for EBUSY
NLMSG_ERR.  Instead use a page sized buffer.
* sysdeps/unix/sysv/linux/check_pf.c (make_request): Use page sized
buffer.
ChangeLog
inet/Makefile
inet/inet6_opt.c
inet/test-inet6_opt.c [new file with mode: 0644]
sysdeps/unix/sysv/linux/check_pf.c
sysdeps/unix/sysv/linux/ifaddrs.c