| 标题 | RefindPlusRepo RefindPlus v0.14.2.AB Release NULL Pointer Dereference |
|---|
| 描述 | One potential NPD problem located in `Library/MemLogLib/BootLog.c#L168`, `static EFI_FILE_PROTOCOL * GetDebugLogFile (VOID)`
the main problem is that EfiLibOpenRoot may return NULL.
```c
mRootDir = EfiLibOpenRoot (LoadedImage->DeviceHandle); // it may return NULL
LogProtocol = OpenLogFile();
Status = REFIT_CALL_1_WRAPPER(mRootDir->Close, mRootDir); // if NULL, it will cause NPD
``` |
|---|
| 来源 | ⚠️ https://github.com/RefindPlusRepo/RefindPlus/issues/204 |
|---|
| 用户 | micromilo (UID 84159) |
|---|
| 提交 | 2025-04-15 09時40分 (1 年前) |
|---|
| 管理 | 2025-04-26 10時39分 (11 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 306338 [RefindPlusRepo RefindPlus 0.14.2.AB BootLog.c GetDebugLogFile 拒绝服务] |
|---|
| 积分 | 20 |
|---|