Attention is currently required from: Angel Pons, Light. Anastasia Klimchuk has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/62747 )
Change subject: flashrom.c, sfdp.c: Initialize dynamically allocated memory using calloc ......................................................................
Patch Set 5: Code-Review+1
(2 comments)
Commit Message:
https://review.coreboot.org/c/flashrom/+/62747/comment/80514137_676b34e3 PS5, Line 13: So allocate them using calloc to initialize them to : zeroes or if allocating using malloc separately initialize them using a loop. Maybe separate this by two new lines, so that it will be easier to read?
Patchset:
PS5: Angel, I have something in memory that you had a patch at some point to replace malloc with calloc? I don't remember what happened with that patch :) But looks like it was a good idea.