Homec4science

avoid NULL pointer dereferences

Authored by Axel Kohlmeyer <akohlmey@gmail.com> on Aug 28 2015, 23:30.

Description

avoid NULL pointer dereferences

LAMMPS may not have allocated per-atom arrays when no atom has yet been present in a subdomain. catch this case and return early.

Details

Committed
Axel Kohlmeyer <akohlmey@gmail.com>Aug 28 2015, 23:30
Pushed
jungeOct 6 2016, 16:49
Parents
rLAMMPS657b6896321c: be safe(r) from NULL pointer dereferences in case a processor hold no atoms
Branches
Unknown
Tags
Unknown

Event Timeline

Axel Kohlmeyer <akohlmey@gmail.com> committed rLAMMPSa7aaefa836a5: avoid NULL pointer dereferences (authored by Axel Kohlmeyer <akohlmey@gmail.com>).Aug 28 2015, 23:30