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 over 1 year ago
- Status changed from In Progress to Closed
- % Done changed from 90 to 100
commit e1a5df12e67cd370138ad95c737fb5436fbb2131 Author: Toomas Soome <firstname.lastname@example.org> Date: 2019-06-27T20:14:19.000Z 11271 libprint: memset after calloc and possible NULL pointer dereference Reviewed by: Gergő Doma <email@example.com> Reviewed by: Norm Jacobs <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>