libprint: memset after calloc and possible NULL pointer dereference
lib - userland libraries
calloc() does zero the memory for us, but we still do need to check the return value.
This issue was pointed by Gergő Mihály Doma while reviewing: https://illumos.org/rb/r/1955/
Updated by Electric Monk 4 months ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
commit e1a5df12e67cd370138ad95c737fb5436fbb2131 Author: Toomas Soome <email@example.com> Date: 2019-06-27T20:14:19.000Z 11271 libprint: memset after calloc and possible NULL pointer dereference Reviewed by: Gergő Doma <firstname.lastname@example.org> Reviewed by: Norm Jacobs <email@example.com> Approved by: Dan McDonald <firstname.lastname@example.org>