Skip to content

update

1283224
Select commit
Loading
Failed to load commit list.
Merged

intel e1000 drivers + UDP socket + kernel 1.3.4 + stp client #90

update
1283224
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Apr 4, 2026 in 1m 55s

Quality Gate failed

Failed conditions
22 Security Hotspots
E Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check failure on line 158 in zlibs/libc/arpa/inet.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

cast from 'const char *' to 'void *' drops const qualifier

See more on https://sonarcloud.io/project/issues?id=elydre_profanOS&issues=AZ1ZQBTjiq29Pk22mMcT&open=AZ1ZQBTjiq29Pk22mMcT&pullRequest=90

Check warning on line 203 in kernel/drivers/pci.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make the type of this parameter a pointer-to-const. The current type of "pci" is "pci_device_t *".

See more on https://sonarcloud.io/project/issues?id=elydre_profanOS&issues=AZ1ZQBVciq29Pk22mMdF&open=AZ1ZQBVciq29Pk22mMdF&pullRequest=90

Check warning on line 269 in zlibs/modules/e1000.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove these redundant parentheses.

See more on https://sonarcloud.io/project/issues?id=elydre_profanOS&issues=AZ1ZQBK9iq29Pk22mMbU&open=AZ1ZQBK9iq29Pk22mMbU&pullRequest=90

Check failure on line 542 in zapps/f/stp.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This goto statement must be replaced by a standard iteration statement.

See more on https://sonarcloud.io/project/issues?id=elydre_profanOS&issues=AZ1ZQBZYiq29Pk22mMd9&open=AZ1ZQBZYiq29Pk22mMd9&pullRequest=90

Check warning on line 72 in zlibs/libmlw/tcp/close.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove use of this obsolete "usleep" function. Replace it by a call to "nanosleep" or "setitimer".

See more on https://sonarcloud.io/project/issues?id=elydre_profanOS&issues=AZ1ZQBU_iq29Pk22mMcz&open=AZ1ZQBU_iq29Pk22mMcz&pullRequest=90

Check warning on line 19 in zlibs/libmlw/tcp/recv.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define each identifier in a dedicated statement.

See more on https://sonarcloud.io/project/issues?id=elydre_profanOS&issues=AZ1ZQBVJiq29Pk22mMc0&open=AZ1ZQBVJiq29Pk22mMc0&pullRequest=90

Check warning on line 49 in zapps/c/ping.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make the type of this parameter a pointer-to-const. The current type of "src_ip" is "unsigned char *".

See more on https://sonarcloud.io/project/issues?id=elydre_profanOS&issues=AZ1ZQBYZiq29Pk22mMdS&open=AZ1ZQBYZiq29Pk22mMdS&pullRequest=90

Check warning on line 18 in zlibs/modules/socket/udp/utils.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make the type of this variable a pointer-to-const. The current type of "udp_data" is "unsigned char *".

See more on https://sonarcloud.io/project/issues?id=elydre_profanOS&issues=AZ1ZQBQYiq29Pk22mMbl&open=AZ1ZQBQYiq29Pk22mMbl&pullRequest=90

Check failure on line 60 in zlibs/libc/arpa/inet.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

unannotated fall-through between switch labels

See more on https://sonarcloud.io/project/issues?id=elydre_profanOS&issues=AZ1ZQBTjiq29Pk22mMcR&open=AZ1ZQBTjiq29Pk22mMcR&pullRequest=90

Check failure on line 281 in zapps/f/stp.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This goto statement must be replaced by a standard iteration statement.

See more on https://sonarcloud.io/project/issues?id=elydre_profanOS&issues=AZ1ZQBZYiq29Pk22mMdv&open=AZ1ZQBZYiq29Pk22mMdv&pullRequest=90

Check warning on line 177 in kernel/drivers/pci.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make the type of this parameter a pointer-to-const. The current type of "pci" is "pci_device_t *".

See more on https://sonarcloud.io/project/issues?id=elydre_profanOS&issues=AZ1ZQBVciq29Pk22mMdD&open=AZ1ZQBVciq29Pk22mMdD&pullRequest=90

Check warning on line 38 in zlibs/libmlw/ip/recv.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make the type of this variable a pointer-to-const. The current type of "ip_header" is "struct ip_header_t *".

See more on https://sonarcloud.io/project/issues?id=elydre_profanOS&issues=AZ1ZQBT5iq29Pk22mMce&open=AZ1ZQBT5iq29Pk22mMce&pullRequest=90

Check warning on line 246 in kernel/drivers/pci.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make the type of this parameter a pointer-to-const. The current type of "value_low" is "unsigned int *".

See more on https://sonarcloud.io/project/issues?id=elydre_profanOS&issues=AZ1ZQBVciq29Pk22mMdI&open=AZ1ZQBVciq29Pk22mMdI&pullRequest=90

Check warning on line 157 in zlibs/libc/netdb.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make the type of this parameter a pointer-to-const. The current type of "packet" is "unsigned char *".

See more on https://sonarcloud.io/project/issues?id=elydre_profanOS&issues=AZ1ZQBTPiq29Pk22mMcJ&open=AZ1ZQBTPiq29Pk22mMcJ&pullRequest=90

Check warning on line 914 in zapps/f/stp.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the misleading "//" characters.

See more on https://sonarcloud.io/project/issues?id=elydre_profanOS&issues=AZ1ZQBZYiq29Pk22mMds&open=AZ1ZQBZYiq29Pk22mMds&pullRequest=90

Check failure on line 17 in zlibs/modules/socket/mod.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Either add a parameter list or the "&" operator to this use of "socket_bind".

See more on https://sonarcloud.io/project/issues?id=elydre_profanOS&issues=AZ1ZQBQ7iq29Pk22mMbs&open=AZ1ZQBQ7iq29Pk22mMbs&pullRequest=90

Check failure on line 695 in zapps/f/stp.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this call to the non reentrant function "strtok" by a call to "strtok_r".

See more on https://sonarcloud.io/project/issues?id=elydre_profanOS&issues=AZ1ZQBZYiq29Pk22mMeG&open=AZ1ZQBZYiq29Pk22mMeG&pullRequest=90

Check warning on line 53 in zlibs/modules/socket/ip/on_recv.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this "switch" statement by "if" statements to increase readability.

See more on https://sonarcloud.io/project/issues?id=elydre_profanOS&issues=AZ1ZQBRziq29Pk22mMb5&open=AZ1ZQBRziq29Pk22mMb5&pullRequest=90

Check failure on line 16 in zlibs/modules/socket/mod.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Either add a parameter list or the "&" operator to this use of "socket_socket".

See more on https://sonarcloud.io/project/issues?id=elydre_profanOS&issues=AZ1ZQBQ7iq29Pk22mMbr&open=AZ1ZQBQ7iq29Pk22mMbr&pullRequest=90

Check failure on line 18 in zlibs/modules/socket/mod.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Either add a parameter list or the "&" operator to this use of "socket_connect".

See more on https://sonarcloud.io/project/issues?id=elydre_profanOS&issues=AZ1ZQBQ7iq29Pk22mMbt&open=AZ1ZQBQ7iq29Pk22mMbt&pullRequest=90

Check warning on line 404 in zapps/c/ip-get.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make the type of this variable a pointer-to-const. The current type of "opt" is "unsigned char *".

See more on https://sonarcloud.io/project/issues?id=elydre_profanOS&issues=AZ1ZQBYxiq29Pk22mMdm&open=AZ1ZQBYxiq29Pk22mMdm&pullRequest=90

Check warning on line 1293 in zapps/f/stp.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this empty statement.

See more on https://sonarcloud.io/project/issues?id=elydre_profanOS&issues=AZ1ZQBZYiq29Pk22mMeP&open=AZ1ZQBZYiq29Pk22mMeP&pullRequest=90

Check failure on line 22 in zlibs/modules/socket/mod.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Either add a parameter list or the "&" operator to this use of "socket_get_rw".

See more on https://sonarcloud.io/project/issues?id=elydre_profanOS&issues=AZ1ZQBQ7iq29Pk22mMbx&open=AZ1ZQBQ7iq29Pk22mMbx&pullRequest=90

Check warning on line 118 in zlibs/modules/eth.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this redundant cast.

See more on https://sonarcloud.io/project/issues?id=elydre_profanOS&issues=AZ1ZQBSfiq29Pk22mMb_&open=AZ1ZQBSfiq29Pk22mMb_&pullRequest=90

Check warning on line 668 in zapps/f/stp.c

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define each identifier in a dedicated statement.

See more on https://sonarcloud.io/project/issues?id=elydre_profanOS&issues=AZ1ZQBZYiq29Pk22mMd_&open=AZ1ZQBZYiq29Pk22mMd_&pullRequest=90