Project

General

Profile

Actions

Bug #5421

closed

devzvol_readdir() needs to be more careful with strchr

Added by Robert Mustacchi almost 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Category:
kernel
Start date:
2014-12-09
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

devzvol_readdir() has a call to strchr that it assumes it can always succeed. It needs to check against NULL.


Related issues

Has duplicate illumos gate - Bug #5977: Machine crash when double-tabbing through directoryClosed2015-06-02

Actions
Actions #1

Updated by Electric Monk almost 7 years ago

  • Status changed from New to Closed

git commit d65686849024838243515b5c40ae2c479460b4b5

commit  d65686849024838243515b5c40ae2c479460b4b5
Author: Robert Mustacchi <rm@joyent.com>
Date:   2014-12-09T03:47:24.000Z

    5421 devzvol_readdir() needs to be more careful with strchr
    Reviewed by: Keith Wesolowski <keith.wesolowski@joyent.com>
    Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
    Approved by: Dan McDonald <danmcd@omniti.com>

Actions #2

Updated by Marcel Telka over 6 years ago

  • Has duplicate Bug #5977: Machine crash when double-tabbing through directory added
Actions

Also available in: Atom PDF