Skip to content

Commit 25b58aa

Browse files
Merge pull request #359 from libfuse/fix-null-deref-strict-warnings
fix null-deref warning in tokenize_on_space, promote strict-warnings to required
2 parents afbdf92 + c71eea8 commit 25b58aa

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/build-ubuntu.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ jobs:
102102
name: ${{ matrix.compiler }} / strict warnings
103103
runs-on: ubuntu-24.04
104104
timeout-minutes: 20
105-
continue-on-error: true
106105
strategy:
107106
fail-fast: false
108107
matrix:

sshfs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3954,7 +3954,7 @@ static char *tokenize_on_space(char *str)
39543954

39553955
start = pos;
39563956

3957-
while (pos && *pos != '\0') {
3957+
while (*pos != '\0') {
39583958
// break on space, but not on '\ '
39593959
if (*pos == ' ' && *(pos - 1) != '\\') {
39603960
break;

0 commit comments

Comments
 (0)