Go to file
Brian Behlendorf bb01879ebe Coverity 9654, 9654: Use After Free
Because vmem_free() was implemented as a macro using the ','
operator to evaluate both arguments and we performed the free
before evaluating size we would deference the free'd pointer.
To resolve the problem we just invert the ordering and evaluate
size first just as if it was evaluated by the caller when being
passed to this function.  This ensure that if the caller is
doing something reckless like performing an assignment as
part of the size argument we still perform it and it simply
doesn't get removed by the macro.  Oh course nobody should
be doing this sort of thing, but just in case.
2009-02-17 16:51:19 -08:00
build This should have been part of the previous autoconf commit. 2008-06-02 18:41:30 +00:00
cmd Build system update 2009-02-12 14:45:22 -08:00
config Build system update 2009-02-12 14:45:22 -08:00
include Coverity 9654, 9654: Use After Free 2009-02-17 16:51:19 -08:00
lib Build system update 2009-02-12 14:45:22 -08:00
module kmem slab magazine ageing deadlock 2009-02-17 15:52:18 -08:00
patches Add the minimal set of kernel patches need to for the SPL. Hopefully 2008-06-02 19:45:04 +00:00
scripts Rename modules to module and update references 2009-01-15 10:44:54 -08:00
AUTHORS Go through and add a header with the proper UCRL number. 2008-05-26 04:38:26 +00:00
autogen.sh * : Add autogen.sh products. 2008-11-24 23:49:18 +00:00
ChangeLog Prep for 0.4.2 tag 2009-02-05 13:43:45 -08:00
configure Build system update 2009-02-12 15:04:36 -08:00
configure.ac Build system update 2009-02-12 15:04:36 -08:00
COPYING Go through and add a header with the proper UCRL number. 2008-05-26 04:38:26 +00:00
DISCLAIMER Go through and add a header with the proper UCRL number. 2008-05-26 04:38:26 +00:00
INSTALL Trivial commit to remove whitespace 2008-07-09 19:11:29 +00:00
libtool Coverity 9654, 9654: Use After Free 2009-02-17 16:51:19 -08:00
Makefile.am Rename modules to module and update references 2009-01-15 10:44:54 -08:00
Makefile.in Rename modules to module and update references 2009-01-15 10:44:54 -08:00
META Prep for 0.4.2 tag 2009-02-05 13:43:45 -08:00
spl_config.h.in Additional Linux VM integration 2009-02-05 12:26:34 -08:00