Mercurial > hg > early-roguelike
comparison arogue5/potions.c @ 144:708bb2dea17c
arogue7, xrogue: prevent potential NULL dereferencing.
It is possible for getpwuid() to fail and return NULL. Various md_get*
functions now check for this.
author | John "Elwin" Edwards |
---|---|
date | Mon, 18 May 2015 10:53:22 -0400 |
parents | 34a87d84ea31 |
children | 56e748983fa8 |
comparison
equal
deleted
inserted
replaced
143:7faf4568c295 | 144:708bb2dea17c |
---|