Project

General

Profile

Actions

Bug #11709

closed

zfs: zio_checksum_table may be accessed past array end

Added by Toomas Soome almost 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
zfs - Zettabyte File System
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

This is why we should not set values in variable declaration block.

I'm very doubtful about ASSERT's in zio_checksum_compute(), I think the better approach would be to raise error in zio, but ...

Actions #1

Updated by Electric Monk almost 3 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 90 to 100

git commit 29de914fcef174393d74135cd19f6920fac954bc

commit  29de914fcef174393d74135cd19f6920fac954bc
Author: Toomas Soome <tsoome@me.com>
Date:   2019-09-23T18:45:34.000Z

    11709 zfs: zio_checksum_table may be accessed past array end
    Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
    Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF