Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iolog, dataplacement: fix coverity scan defect #1767

Merged
merged 2 commits into from
May 31, 2024

Commits on May 31, 2024

  1. iolog: fix Null pointer dereferences (FORWARD_NULL)

    CID 494150: Null pointer dereferences (FORWARD_NULL) @ iolog.c:148 in ipo_special()
    This patch removes the possibility of null pointer dereferencing(io_u->file)
    throughout the call stack of get_io_u() → read_iolog_get() → dp_fill_dspec_data()
    
    Signed-off-by: Hyunwoo Park <dshw.park@samsung.com>
    parkvibes committed May 31, 2024
    Configuration menu
    Copy the full SHA
    a70e681 View commit details
    Browse the repository at this point in the history
  2. iolog: fix Error handling issues (NEGATIVE_RETURNS)

    CID 494151: Error handling issues (NEGATIVE_RETURNS) @ io_u.c:1877 in get_io_u()
    This patch removes negative returns from dp_init() to ensure
    its value can be properly consumed by td_verror()
    
    Signed-off-by: Hyunwoo Park <dshw.park@samsung.com>
    parkvibes committed May 31, 2024
    Configuration menu
    Copy the full SHA
    4150d2e View commit details
    Browse the repository at this point in the history