Project

General

Profile

Actions

Bug #10740

closed

udfs: NULL pointer errors

Added by Toomas Soome about 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
filesystems (not ZFS)
Start date:
2019-04-12
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

NULL pointer errors:

    ../../common/fs/udfs/udf_subr.c: In function 'ud_uncompress':
    ../../common/fs/udfs/udf_subr.c:1743:16: error: comparison between pointer and integer [-Werror]
           (w2_char == NULL)) {
                    ^~

    ../../common/fs/udfs/udf_vnops.c: In function 'udf_symlink':
    ../../common/fs/udfs/udf_vnops.c:1305:18: error: comparison between pointer and integer [-Werror]
       while (*target != NULL) {
                      ^~
    ../../common/fs/udfs/udf_vnops.c:1350:16: error: comparison between pointer and integer [-Werror]
        if (*target == NULL) {
                    ^~
    cc1: all warnings being treated as errors

Actions

Also available in: Atom PDF