Issue #2862 has been updated by swildner. Status changed from Feedback to Closed
I've pushed it. Thanks. ---------------------------------------- Submit #2862: [PATCH] boot0cfg: check result of malloc in read_mbr() http://bugs.dragonflybsd.org/issues/2862#change-12800 * Author: 0xAX * Status: Closed * Priority: Normal * Assignee: * Category: Userland * Target version: 4.2.x ---------------------------------------- Hello All, We allocating buffer for MBR in the read_mbr() function. The malloc() may return NULL, so this patch checks the result of the malloc and exit with the error if we can't allocate memory. Besides this we close file descriptor. ---Files-------------------------------- 0001-boot0cfg-check-result-of-malloc-in-read_mbr.patch (1.17 KB) -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account