Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-7] src/sys



Module Name:    src
Committed By:   snj
Date:           Sat May 16 04:06:05 UTC 2015

Modified Files:
        src/sys/arch/sgimips/dev [netbsd-7]: scn.c
        src/sys/arch/sgimips/mace [netbsd-7]: macekbc.c
        src/sys/dev/hpc [netbsd-7]: hpcfb.c
        src/sys/dev/i2c [netbsd-7]: i2c.c
        src/sys/dev/ic [netbsd-7]: mfi.c
        src/sys/dev/if_ndis [netbsd-7]: if_ndis_pci.c
        src/sys/dev/sysmon [netbsd-7]: sysmon_power.c
        src/sys/dev/usb [netbsd-7]: umass_isdata.c

Log Message:
Pull up following revision(s) (requested by maxv in ticket #761):
        sys/arch/sgimips/dev/scn.c: revision 1.8
        sys/arch/sgimips/mace/macekbc.c: revision 1.8
        sys/dev/hpc/hpcfb.c: revision 1.59
        sys/dev/i2c/i2c.c: revision 1.47
        sys/dev/ic/mfi.c: revision 1.57
        sys/dev/if_ndis/if_ndis_pci.c: revision 1.21
        sys/dev/sysmon/sysmon_power.c: revisions 1.50-1.52
        sys/dev/usb/umass_isdata.c: revision 1.31
fix double free, found by Brainy.
--
Free cmd on error if we allocated it.
Found by Brainy, reported by maxv@.
--
don't leak rl (but there are other leaks), found by Brainy.
--
Free ped if we can't hand it to the power daemon.
Found by Brainy, reported by maxv@.
--
don't forget to free the dictionary.
--
another missing free dict.
--
fix leak, found by Brainy.
--
don't malloc a tiny, fixed size buffer to scribble into, then not use it
and never free it either
found by Brainy
--
malloc() -> kmem_alloc() for private data, also kmem_free() them if we
don't finish attaching for whatever reason
found by Brainy


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.7.2.1 src/sys/arch/sgimips/dev/scn.c
cvs rdiff -u -r1.7 -r1.7.12.1 src/sys/arch/sgimips/mace/macekbc.c
cvs rdiff -u -r1.58 -r1.58.34.1 src/sys/dev/hpc/hpcfb.c
cvs rdiff -u -r1.44.2.1 -r1.44.2.2 src/sys/dev/i2c/i2c.c
cvs rdiff -u -r1.53.2.1 -r1.53.2.2 src/sys/dev/ic/mfi.c
cvs rdiff -u -r1.19.12.1 -r1.19.12.2 src/sys/dev/if_ndis/if_ndis_pci.c
cvs rdiff -u -r1.47.2.1 -r1.47.2.2 src/sys/dev/sysmon/sysmon_power.c
cvs rdiff -u -r1.29 -r1.29.4.1 src/sys/dev/usb/umass_isdata.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index