[owc] Weekly src changes ending 2007-09-02

OWC auto at squish.net
Mon Sep 3 07:00:01 BST 2007


OpenBSD src changes summary for 2007-08-26 to 2007-09-02 inclusive
==================================================================

bin/df                                  bin/ed
bin/pax                                 bin/ps
bin/systrace                            distrib/notes
games/worms                             lib/libc
lib/libevent                            lib/libexpat
lib/libpcap                             libexec/ftpd
libexec/identd                          libexec/ld.so
libexec/spamd                           libexec/spamd-setup
regress/sbin                            regress/sys
sbin/atactl                             sbin/ccdconfig
sbin/dhclient                           sbin/disklabel
sbin/dump                               sbin/fsck_ext2fs
sbin/fsck_msdos                         sbin/growfs
sbin/ifconfig                           sbin/isakmpd
sbin/mount                              sbin/mount_vnd
sbin/pfctl                              sbin/raidctl
sbin/restore                            sbin/umount
share/man                               sys/arch/alpha/alpha
sys/arch/amd64/amd64                    sys/arch/amd64/include
sys/arch/hppa/dev                       sys/arch/i386/conf
sys/arch/i386/i386                      sys/arch/i386/include
sys/arch/sh/include                     sys/arch/sh/sh
sys/arch/vax/if                         sys/arch/vax/mba
sys/arch/vax/vsa                        sys/compat/ibcs2
sys/compat/linux                        sys/compat/svr4
sys/ddb                                 sys/dev
sys/dev/bluetooth                       sys/dev/ic
sys/dev/mii                             sys/dev/pci
sys/dev/pcmcia                          sys/dev/rasops
sys/dev/usb                             sys/dev/wscons
sys/kern                                sys/miscfs/procfs
sys/net                                 sys/net80211
sys/netinet                             sys/sys
sys/uvm                                 usr.bin/asn1_compile
usr.bin/at                              usr.bin/awk
usr.bin/bdes                            usr.bin/cdio
usr.bin/cvs                             usr.bin/dc
usr.bin/file                            usr.bin/finger
usr.bin/fsplit                          usr.bin/fstat
usr.bin/ftp                             usr.bin/grep
usr.bin/indent                          usr.bin/ipcs
usr.bin/locate                          usr.bin/mail
usr.bin/mg                              usr.bin/midiplay
usr.bin/nm                              usr.bin/patch
usr.bin/pmdb                            usr.bin/rcs
usr.bin/rs                              usr.bin/rusers
usr.bin/sdiff                           usr.bin/sort
usr.bin/spell                           usr.bin/strip
usr.bin/sudo                            usr.bin/sup
usr.bin/systat                          usr.bin/vi
usr.bin/whois                           usr.bin/window
usr.bin/xargs                           usr.bin/yacc
usr.sbin/cron                           usr.sbin/dhcrelay
usr.sbin/edquota                        usr.sbin/kvm_mkdb
usr.sbin/lpr                            usr.sbin/mailwrapper
usr.sbin/memconfig                      usr.sbin/mrinfo
usr.sbin/pkg_add                        usr.sbin/ppp
usr.sbin/pppd                           usr.sbin/procmap
usr.sbin/pstat                          usr.sbin/quot
usr.sbin/sasyncd                        usr.sbin/tcpdump

== bin =============================================================== 01/11 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/bin

df

  ~ df.c                                  

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

ed

  ~ undo.c                                

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

pax

  ~ tables.c                              

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

ps

  ~ ps.c                                  

  > malloc(n * m) -> calloc(n, m); from zinovik (deraadt@)

systrace

  ~ systrace.c                            

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

== distrib =========================================================== 02/11 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/distrib

notes

  ~ m4.common                             ~ alpha/contents
  ~ amd64/contents                        ~ hppa/contents
  ~ i386/contents                         ~ macppc/contents
  ~ sparc/contents                        ~ sparc64/contents

  > oops; t.stritzky at teles.de noted that we had not yet documented the
  > install##.iso files; thanks (deraadt@)

== games ============================================================= 03/11 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/games

worms

  ~ worms.c                               

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

== lib =============================================================== 04/11 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/lib

libc

  ~ gen/getnetgrent.c                     ~ gen/login_cap.c
  ~ gen/scandir.c                         ~ gen/setmode.c
  ~ gen/strtofflags.c                     ~ net/getprotoent.c
  ~ net/getservent.c                      ~ net/rcmdsh.c
  ~ regex/regcomp.c                       ~ rpc/pmap_rmt.c
  ~ stdlib/hcreate.c                      ~ stdlib/radixsort.c
  ~ string/bm.c                           

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

libevent

  ~ kqueue.c                              

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

libexpat

  ~ Changes                               ~ README
  ~ doc/reference.html                    ~ examples/elements.c
  ~ examples/outline.c                    ~ lib/amigaconfig.h
  ~ lib/ascii.h                           ~ lib/expat.h
  ~ lib/expat_external.h                  ~ lib/internal.h
  ~ lib/xmlparse.c                        ~ lib/xmlrole.c
  ~ lib/xmltok.c                          ~ lib/xmltok_impl.c
  ~ lib/xmltok_ns.c                       

  > Update to expat 2.0.1. ok deraadt@ (matthieu@)

libpcap

  ~ optimize.c                            ~ pcap.c

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

== libexec =========================================================== 05/11 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/libexec

ftpd

  ~ ftpd.c                                

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

identd

  ~ identd.c                              

  > Fix some error messages and comments, from Brad.
  > OK otto. (ray@)

ld.so

  ~ ldconfig/prebind.c                    

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

spamd

  ~ sdl.c                                 

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

spamd-setup

  ~ spamd-setup.c                         

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

== regress =========================================================== 06/11 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/regress

sbin

  ~ pfctl/Makefile                        + pfctl/pf94.in
  + pfctl/pf94.ok                         

  > regress test address ranges (dhartmei@)

sys

  ~ dev/audio_rw/audiotest_rw.c           

  > add a function to trigger recording and use it for full-duplex mode
  > (jakemsr@)

  ~ dev/audio_rw/audiotest_rw.c           

  > - remove commented out 'extern errno' declaration
  > - remove pointless AUDIO_FLUSH. (jakemsr@)

== sbin ============================================================== 07/11 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/sbin

atactl

  ~ atactl.c                              

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

ccdconfig

  ~ ccdconfig.c                           

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

dhclient

  ~ dhclient.c                            

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

disklabel

  ~ editor.c                              

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

dump

  ~ main.c                                

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

fsck_ext2fs

  ~ setup.c                               

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

fsck_msdos

  ~ fat.c                                 

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

growfs

  ~ growfs.c                              

  > more malloc(n * m) -> calloc(n, m); from Igor Zinovik (deraadt@)

ifconfig

  ~ ifconfig.c                            

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

isakmpd

  ~ ipsec.c                               ~ pf_key_v2.c
  ~ sa.c                                  ~ x509.c

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

  ~ exchange.c                            

  > more malloc(n * m) -> calloc(n, m); from Igor Zinovik (deraadt@)

mount

  ~ mount.c                               

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

mount_vnd

  ~ pkcs5_pbkdf2.c                        

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

pfctl

  ~ parse.y                               ~ pf_print_state.c

  > add support for address ranges ("from 10.1.2.50 - 10.1.3.75") in from/to
  > criteria. ok mcbride@ (dhartmei@)

raidctl

  ~ raidctl.c                             

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

restore

  ~ interactive.c                         ~ main.c
  ~ tape.c                                

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

umount

  ~ umount.c                              

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

== share ============================================================= 08/11 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/share

man

  ~ man5/bsd.port.mk.5                    

  > yuck, shameful typo (espie@)

  ~ man4/ipw.4                            ~ man4/iwi.4
  ~ man4/wpi.4                            ~ man4/ral.4
  ~ man4/uath.4                           ~ man4/zyd.4

  > update the DIAGNOSTICS section to reflect the new firmware load failure
  > message. (damien@)

  ~ man4/uath.4                           

  > remove a comment about this driver being a work in progress. (damien@)

  ~ man5/pf.conf.5                        

  > document address ranges, with help from jmc@ (dhartmei@)

  ~ man4/uberry.4                         

  > all units can now charge, except a dead-battery 7750 (deraadt@)

  ~ man4/uberry.4                         

  > Craddle -> cradle; ok deraadt (jmc@)

  ~ man4/fxp.4                            ~ man4/rum.4

  > new format firmware load failure messages (deraadt@)

  ~ man4/uipaq.4                          

  > Add support for Alltel UTStarcom PPC6700.
  > Tested by Sam Fourman Jr. <sfourman at gmail.com> (jsg@)

  ~ man4/vic.4                            

  > vic works in vmware fusion too (dlg@)

== sys =============================================================== 09/11 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/sys

arch/alpha/alpha

  ~ db_disasm.c                           

  > Use db_format() instead of ddb-specific format specifiers; no functional
  > change inteded.
  > ok ray@ (miod@)

arch/amd64/amd64

  ~ machdep.c                             

  > Use ptoa((psize_t)...) and %lu to print memory size. (kettenis@)

  ~ bus_space.c                           

  > Add vaddr.
  > ok miod (marco@)

  ~ db_disasm.c                           

  > Use db_format() instead of ddb-specific format specifiers; no functional
  > change inteded.
  > ok ray@ (miod@)

arch/amd64/include

  ~ bus.h                                 

  > Add vaddr.
  > ok miod (marco@)

  ~ bus.h                                 

  > Remove stale comments; prompted by millert. (marco@)

arch/hppa/dev

  ~ dino.c                                

  > Implement bus_space_vaddr().
  > ok marco@ (kettenis@)

  ~ elroy.c                               

  > Implement bus_space_vaddr().
  > ok marco@ (kettenis@)

arch/i386/conf

  ~ GENERIC                               

  > Add qli.  Commented out for now. (marco@)

arch/i386/i386

  ~ db_disasm.c                           

  > Use db_format() instead of ddb-specific format specifiers; no functional
  > change inteded.
  > ok ray@ (miod@)

  ~ machdep.c                             ~ mem.c
  ~ rbus_machdep.c                        

  > replace the machine dependant bytes-to-clicks macro by the MI ptoa()
  > version for i386
  > more architectures and ctob() replacement is being worked on
  > prodded by and ok miod (martin@)

arch/i386/include

  ~ bus.h                                 

  > Remove stale comments; prompted by millert. (marco@)

  ~ param.h                               

  > replace the machine dependant bytes-to-clicks macro by the MI ptoa()
  > version for i386
  > more architectures and ctob() replacement is being worked on
  > prodded by and ok miod (martin@)

arch/sh/include

  ~ vmparam.h                             

  > Fix typos in comments: soruce -> source (hshoexer@)

arch/sh/sh

  ~ pmap.c                                

  > In pmap_protect(), compute the bitmask to set in the ptes only once,
  > instead
  > of every iteration. (miod@)

  ~ clock.c                               

  > Fix typos in comments: soruce -> source (hshoexer@)

arch/vax/if

  ~ if_le.c                               

  > Do not include <machine/rpb.h> unless necessary. (miod@)

arch/vax/mba

  ~ hp.c                                  

  > Do not include <machine/rpb.h> unless necessary. (miod@)

arch/vax/vsa

  ~ hdc9224.c                             ~ if_le_vsbus.c

  > Do not include <machine/rpb.h> unless necessary. (miod@)

compat/ibcs2

  ~ ibcs2_misc.c                          

  > replace the machine dependant bytes-to-clicks macro by the MI ptoa()
  > version for i386
  > more architectures and ctob() replacement is being worked on
  > prodded by and ok miod (martin@)

compat/linux

  ~ linux_exec.c                          ~ linux_misc.c

  > replace the machine dependant bytes-to-clicks macro by the MI ptoa()
  > version for i386
  > more architectures and ctob() replacement is being worked on
  > prodded by and ok miod (martin@)

compat/svr4

  ~ svr4_misc.c                           

  > replace the machine dependant bytes-to-clicks macro by the MI ptoa()
  > version for i386
  > more architectures and ctob() replacement is being worked on
  > prodded by and ok miod (martin@)

ddb

  ~ db_command.c                          ~ db_examine.c

  > Use db_format() instead of ddb-specific format specifiers; no functional
  > change inteded.
  > ok ray@ (miod@)

dev

  ~ ipmi.c                                

  > Defer ipmi sensor creation after kernel goes multi user.  This removes the
  > annoying waiting period during kernel boots.
  > pushed for by deraadt and beck
  > Lots of testing todd, ckuethe and others
  > ok beck (marco@)

  ~ ccd.c                                 

  > fix a use after free case.
  > From Bret Lambert via deraadt@;
  > ok miod@ (thib@)

dev/bluetooth

  ~ btdev.h                               ~ bthidev.h
  ~ btkbd.c                               ~ btms.c
  ~ files.bluetooth                       + bthidev.c

  > - Add bthidev(4), from NetBSD.
  > - Make btms(4) and btkbd(4) compile.
  > - Removed remaining proplib NetBSD'sim
  > Prodded a while ago by gwk at . Eyeballed by miod at . (xsa@)

dev/ic

  ~ malo.c                                

  > Fix XXX comment.  There is nothing wrong with the following statement.
  > (mglocker@)

  ~ malo.c                                

  > Process all FW command responses, and therefore make them visible in debug
  > mode.  Make a note that processing of command-done interrupts doesn't
  > work yet.
  > OK claudio@ (mglocker@)

  ~ malo.c                                

  > Unify DPRINTF's and use the device name argument for all outputs.
  > OK claudio@ (mglocker@)

  ~ acx.c                                 ~ malo.c
  ~ pgt.c                                 ~ rt2661.c

  > unify firmware load failure messages; ok mglocker (deraadt@)

  ~ fxp.c                                 

  > new format firmware load message (deraadt@)

  ~ aac.c                                 

  > ctob is gone, use ptoa
  > tested by ckuethe (martin@)

dev/mii

  ~ miidevs.h                             

  > regen (ckuethe@)

  ~ inphy.c                               

  > PHY on D495GCCR board
  > "Right" deraadt (ckuethe@)

  ~ miidevs                               

  > Intel PHY on D945GCCR board
  > "Right" deraadt (ckuethe@)

dev/pci

  ~ if_nxe.c                              

  > start implementing the rx code. this puts pkts and descriptors onto the
  > rx ring. (dlg@)

  ~ if_bnx.c                              ~ if_ipw.c
  ~ if_iwi.c                              ~ if_wpi.c

  > unify firmware load failure messages; ok mglocker (deraadt@)

  ~ pcidevs                               

  > Add a bunch of devices from submitted dmesgs. (jsg@)

  ~ pcidevs.h                             ~ pcidevs_data.h

  > regen (jsg@)

  ~ pcidevs.h                             ~ pcidevs_data.h

  > sync (marco@)

  ~ pcidevs                               

  > Add QLogic iSCSI HBAs and TOEs
  > ok dlg (marco@)

  ~ files.pci                             + qli_pci.c
  + qlireg.h                              

  > Add qli (qlogic iscsi) HBA driver for further development in tree.	Help
  > from David Collins <dave at davec dot name>.
  > Name pitched by deraadt
  > help and ok dlg (marco@)

  ~ if_vr.c                               ~ if_vrreg.h

  > Add VLAN reception support to vr(4).  Diff from Brad.
  > OK claudio@ (mglocker@)

  ~ if_nfe.c                              ~ if_nfevar.h

  > Correct the backwards ethernet address that some NVidia MACs have.
  > diff from brad. "commit this" jsg (ckuethe@)

  ~ pcidevs                               

  > Add ENE Memory Stick/SD/SDMMC entries.
  > From Alexey Suslikov <alexey.suslikov at gmail.com> (jsg@)

  ~ pcidevs.h                             ~ pcidevs_data.h

  > regen (jsg@)

dev/pcmcia

  ~ if_malo.c                             

  > unify firmware load failure messages; ok mglocker (deraadt@)

dev/rasops

  ~ rasops24.c                            

  > Fix space and underline handling in rasops24_putchar(), spotted by Leon
  > Zadorin. (miod@)

dev/usb

  ~ usbdevs                               

  > OMRON BX35F (a UPS) (henning@)

  ~ usbdevs.h                             ~ usbdevs_data.h

  > regen (henning@)

  ~ usb_quirks.c                          

  > OMRON BX35F is a UPS and should not be claimed by uhid
  > From: vladas <vladas.urbonas at gmail.com> (henning@)

  ~ if_uath.c                             ~ if_zyd.c

  > unify firmware load failure messages; ok mglocker (deraadt@)

  ~ usbdevs.h                             ~ usbdevs_data.h

  > rename pearl mass storage mode sync (deraadt@)

  ~ uberry.c                              ~ usbdevs

  > handle new pearl-style devices (which now attach their SD cards as a
  > umass),
  > or ancient ancient usb/serial devices (which come up as false usb devices
  > when turned off); thanks to kitella for giving me a variety pack of old
  > units (deraadt@)

  ~ usbdevs.h                             ~ usbdevs_data.h

  > proper sync (deraadt@)

  ~ uts.c                                 

  > don't swap X and Y coordinates while in raw mode. ok robert@ (matthieu@)

  ~ usbdevs                               

  > belkin 4-port hub (sturm@)

  ~ usbdevs.h                             ~ usbdevs_data.h

  > sync (sturm@)

  ~ usbhid.h                              

  > - Add bthidev(4), from NetBSD.
  > - Make btms(4) and btkbd(4) compile.
  > - Removed remaining proplib NetBSD'sim
  > Prodded a while ago by gwk at . Eyeballed by miod at . (xsa@)

  ~ usbdevs                               

  > Alltel UTStarcom PPC6700. (jsg@)

  ~ usbdevs.h                             ~ usbdevs_data.h

  > regen (jsg@)

  ~ uipaq.c                               

  > Add support for Alltel UTStarcom PPC6700.
  > Tested by Sam Fourman Jr. <sfourman at gmail.com> (jsg@)

  ~ uow.c                                 

  > Disable ROM search acceleration for now, it has some issues. (grange@)

dev/wscons

  ~ wsconsio.h                            

  > - Add bthidev(4), from NetBSD.
  > - Make btms(4) and btkbd(4) compile.
  > - Removed remaining proplib NetBSD'sim
  > Prodded a while ago by gwk at . Eyeballed by miod at . (xsa@)

kern

  ~ vfs_syscalls.c                        

  > Fix lock ordering problems when updating mount points, in some
  > cases we could end up releasing an unlocked lock.
  > fixes pr's 5534 and 5564, confirmed by submitters.
  > thanks!.
  > ok art@ (thib@)

  ~ subr_prf.c                            

  > Remove support for ddb-only %r, %z, and the ddb-specific handling of %n
  > from
  > the kernel printf. This will allow support for the real %z in the near
  > future. (miod@)

  ~ kern_malloc.c                         ~ kern_sig.c
  ~ kern_sysctl.c                         

  > replace the machine dependant bytes-to-clicks macro by the MI ptoa()
  > version for i386
  > more architectures and ctob() replacement is being worked on
  > prodded by and ok miod (martin@)

miscfs/procfs

  ~ procfs_vnops.c                        

  > replace the machine dependant bytes-to-clicks macro by the MI ptoa()
  > version for i386
  > more architectures and ctob() replacement is being worked on
  > prodded by and ok miod (martin@)

net

  ~ if_spppsubr.c                         

  > The m_pulldown used for aligning was not copying the header,
  > revert back to m_pullup2. Reported and tested by Enache Adrian
  > additional testing by naddy@ and claudio@
  > ok claudio@, deraadt@ (canacar@)

  ~ pf.c                                  

  > showing this diff is shameful...
  > if (r != NULL && r->rtableid >= 0)
  > -		    m->m_pkthdr.pf.rtableid = m->m_pkthdr.pf.rtableid;
  > +		    m->m_pkthdr.pf.rtableid = r->rtableid;
  > fortunately it is in pf_send_tcp and thus the effect is very limited, RSTs
  > sent due to "block return(-rst)" could be routed using the main routing
  > table instead of an alternate one specified on the block rule.
  > spotted by Janjaap van Velthooven <janjaap at stack.nl> (henning@)

  ~ pfvar.h                               ~ pf.c

  > add support for address ranges ("from 10.1.2.50 - 10.1.3.75") in from/to
  > criteria. ok mcbride@ (dhartmei@)

  ~ pf.c                                  

  > handle address ranges in skip step calculation (dhartmei@)

  ~ pf.c                                  ~ pf_ioctl.c
  ~ pfvar.h                               

  > mechanic change:
  > there is a 1:1 mapping between direction and the tree the states get
  > attached to. there is no need to have anything outside the state insertion/
  > deletion/lookup routinbes know about these internals. so just pass the
  > direction to the lookup functions and let them pick the right tree.
  > ok dhartmei markus (henning@)

  ~ pfvar.h                               

  > zap unused "pf_tag" structure.
  > ok henning@ (thib@)

  ~ pf_ioctl.c                            

  > replace the machine dependant bytes-to-clicks macro by the MI ptoa()
  > version for i386
  > more architectures and ctob() replacement is being worked on
  > prodded by and ok miod (martin@)

  ~ if_pfsync.c                           ~ pf_if.c
  ~ pf_osfp.c                             ~ pf_table.c
  ~ pfkeyv2.c                             

  > since the
  > MGET* macros were changed to function calls, there wasn't any
  > need for the pool declarations and the inclusion of pool.h
  > From: tbert <bret.lambert at gmail.com> (henning@)

net80211

  ~ ieee80211_input.c                     ~ ieee80211_node.h
  ~ ieee80211_output.c                    

  > Checking the MIC early in ieee80211_recv_eapol() does not work for
  > message 2/4 of the 4-way handshake because the authenticator must
  > derive the PTK first (the MIC is computed using the KCK).
  > Move calls to ieee80211_eapol_key_check_mic() - and as a consequence
  > ieee80211_eapol_key_decrypt() - directly in the
  > ieee80211_recv_{group,4way}_msg*() functions.
  > Unconstify the first parameter since checking the MIC modifies the
  > frame. Remove ni->ni_ptk_ok field while i'm here. (damien@)

  ~ ieee80211_output.c                    ~ ieee80211_node.h
  ~ ieee80211_input.c                     

  > rework ieee80211_recv_4way_msg2() function.
  > add some RSNA authenticator state machine bits. (damien@)

  ~ ieee80211_input.c                     ~ ieee80211_crypto.c

  > - use ieee80211_get_hdrlen() where appropriate.
  > - discard all EAPOL-Key frames with an unknown descriptor version.
  > - when receiving message 3/4 of the 4-way handshake, do not install
  > the PTK if the INSTALL bit is not set. this fixes 4-way handshake
  > with APs using group keys only.
  > - similarly, do not mark the 802.1X port as valid if the SECURE bit
  > is not set (it will be marked as valid after group key handshake).
  > (damien@)

  ~ ieee80211.h                           

  > typo in a macro (fortunately unused): 0c00 -> 0x00 (damien@)

netinet

  ~ in_pcb.c                              ~ ip_input.c
  ~ ip_spd.c                              ~ tcp_input.c
  ~ tcp_subr.c                            ~ tcp_timer.c
  ~ tcp_usrreq.c                          

  > since the
  > MGET* macros were changed to function calls, there wasn't any
  > need for the pool declarations and the inclusion of pool.h
  > From: tbert <bret.lambert at gmail.com> (henning@)

sys

  ~ malloc.h                              

  > - Add bthidev(4), from NetBSD.
  > - Make btms(4) and btkbd(4) compile.
  > - Removed remaining proplib NetBSD'sim
  > Prodded a while ago by gwk at . Eyeballed by miod at . (xsa@)

uvm

  ~ uvm_vnode.c                           

  > simplify uvm_vnp_sync() by removing some simplelock goo.
  > some comment cleanup and a touch of KNF.
  > ok art@ (thib@)

  ~ uvm_mmap.c                            ~ uvm_unix.c

  > replace the machine dependant bytes-to-clicks macro by the MI ptoa()
  > version for i386
  > more architectures and ctob() replacement is being worked on
  > prodded by and ok miod (martin@)

== usr.bin =========================================================== 10/11 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin

asn1_compile

  ~ gen_copy.c                            

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

at

  ~ at.c                                  

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

awk

  ~ b.c                                   ~ lib.c

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

bdes

  ~ bdes.c                                

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

cdio

  ~ cddb.c                                

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

cvs

  ~ rcs.c                                 

  > typo in error msg; from Igor Zinovik. (xsa@)

  ~ server.c                              

  > more typos in error messages; from Igor Zinovik. (xsa@)

  ~ add.c                                 

  > missing xfree();
  > from Igor Zinovik, thanks. (joris@)

  ~ buf.c                                 

  > more typo shizzle from Igor Zinovik. (joris@)

  ~ buf.c                                 

  > correct error string in cvs_buf_load_fd() to match the function.
  > from Igor Zinovik (joris@)

  ~ add.c                                 ~ client.c
  ~ commit.c                              ~ import.c
  ~ logmsg.c                              ~ remote.h

  > properly send our log message to the server using Argumentx, so we
  > no longer break when the log message has multiple lines.
  > from Tobias Stoeckmann, thanks for doing my work! (joris@)

  ~ cvs.h                                 ~ root.c

  > Remove old CVSROOT caching mechanisms.
  > from Tobias Stoeckmann (joris@)

  ~ client.c                              

  > s/free/xfree (joris@)

  ~ client.c                              ~ remote.c

  > Log all commands sent with cvs_remote_output(), not just
  > cvs_client_send_request(). Simplified logging code while at it.
  > OK joris@ (tobias@)

  ~ import.c                              

  > Stick at GNU cvs behaviour by writing "Initial revision" in revision 1.1
  > instead of custom log message (which gets written into 1.1.1.1).
  > OK joris@ (tobias@)

  ~ util.c                                

  > Handle quotation marks in .cvsrc correctly.
  > OK joris@ (tobias@)

  ~ client.c                              ~ server.c

  > OpenCVS server init-support with OpenCVS and GNU cvs clients.
  > OK joris@ (tobias@)

  ~ cvs.c                                 ~ fatal.c
  ~ root.c                                ~ server.c

  > Stick at GNU cvs behaviour with Root directive handling: it does not need
  > to be sent first, can occure multiple times (although this is ignored) but
  > should be supplied before Directory.
  > OK joris@ (tobias@)

dc

  ~ bcode.c                               

  > more malloc(n * m) -> calloc(n, m); from Igor Zinovik (deraadt@)

file

  ~ magic.c                               

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

finger

  ~ sprint.c                              

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

fsplit

  ~ fsplit.c                              

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

fstat

  ~ fstat.c                               

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

ftp

  ~ stringlist.c                          

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

grep

  ~ grep.c                                ~ grep.h
  ~ util.c                                

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

indent

  ~ lexi.c                                

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

ipcs

  ~ ipcs.c                                

  > more malloc(n * m) -> calloc(n, m); from Igor Zinovik (deraadt@)

locate

  ~ locate/util.c                         

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

mail

  ~ edit.c                                

  > Copy editit() from sendbug, synchronizing editor calling code.
  > OK otto, millert, beck, mbalmer, deraadt. (ray@)

mg

  ~ theo.c                                

  > another quote (jasper@)

midiplay

  ~ midiplay.c                            

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

nm

  ~ elf.c                                 ~ nm.c

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

patch

  ~ pch.c                                 

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

pmdb

  ~ clit.c                                

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

rcs

  ~ ci.1                                  

  > add a description for -ztz
  > ok xsa@ (sobrado@)

  ~ rcs.c                                 

  > typo in error msg; from Igor Zinovik. (xsa@)

rs

  ~ rs.c                                  

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

rusers

  ~ rusers.c                              

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

sdiff

  ~ sdiff.c                               

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

sort

  ~ init.c                                

  > Use an int, not a size_t, to store the return value of snprintf().
  > This gives the later tests against -1 a chance to actually do something.
  > Initially from Igor Zinovik <zinovik at cs.karelia.ru>.
  > ok ray@ (kili@)

spell

  ~ spellprog.c                           

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

strip

  ~ strip.c                               

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

sudo

  ~ parse.yacc                            

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

sup

  ~ src/scm.c                             

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

systat

  ~ swap.c                                ~ vmstat.c

  > malloc(n * m) -> calloc(n, m); from zinovik (deraadt@)

  ~ pigs.c                                

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

vi

  ~ cl/cl_read.c                          ~ ex/ex_script.c

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

whois

  ~ whois.c                               

  > add afrinic to the list of known whois servers so that referrals are
  > followed, part of PR 5566 From: Frank Habicht <geier at tih.co.tz>
  > I am not convinced we really want to add new shortcuts on teh commandline
  > for all whois hosts. the number is increasing, do we really want to add
  > on option for each? shouldn't we rely on the referrals (working just fine)?
  > (henning@)

  ~ whois.1                               

  > add lacnic and afrinic to the list in the -a descr (henning@)

window

  ~ compress.c                            ~ wwinit.c
  ~ wwopen.c                              ~ wwsize.c
  ~ xx.c                                  

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

xargs

  ~ xargs.c                               

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

yacc

  ~ skeleton.c                            

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

== usr.sbin ========================================================== 11/11 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/usr.sbin

cron

  ~ crontab.c                             

  > Copy editit() from sendbug, synchronizing editor calling code.
  > OK otto, millert, beck, mbalmer, deraadt. (ray@)

  ~ crontab.c                             

  > Include err.h and remove unused variables.
  > OK millert. (ray@)

  ~ env.c                                 

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

dhcrelay

  ~ dispatch.c                            

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

edquota

  ~ edquota.c                             

  > Copy editit() from sendbug, synchronizing editor calling code.
  > OK otto, millert, beck, mbalmer, deraadt. (ray@)

kvm_mkdb

  ~ nlist.c                               

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

lpr

  ~ common_source/common.c                ~ lpd/lpd.c
  ~ lpd/printjob.c                        ~ pac/pac.c

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

mailwrapper

  ~ mailwrapper.c                         

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

memconfig

  ~ memconfig.c                           

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

mrinfo

  ~ mrinfo.c                              

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

pkg_add

  ~ OpenBSD/Paths.pm                      

  > reverse mistaken commit, restore FETCH_CMD to functionality. (espie@)

ppp

  ~ ppp/route.c                           

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

pppd

  ~ main.c                                

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

procmap

  ~ procmap.c                             

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

pstat

  ~ pstat.c                               

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

quot

  ~ quot.c                                

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

sasyncd

  ~ pfkey.c                               

  > use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsg
  > (deraadt@)

tcpdump

  ~ interface.h                           ~ tcpdump.8
  ~ tcpdump.c                             ~ util.c

  > add -I option for printing the interfaces;
  > ok hshoexer, henning, mcbridge (some time ago) (markus@)

===============================================================================


More information about the owc mailing list