- 26 Mar, 2022 6 commits
-
-
geeseven authored
-
Celine Lee authored
Dear Ventoy community – Our team is working with your code and we noticed this if logical expression: if (len - 1 - (int)(long)(pos - pwdstr) != 32) We studied the surrounding code. We believe we understand the intention of the type casts in the above if statement. It seems they were meant to ensure an underflow doesn’t occur by the subtraction between to char pointers, which is a great catch (!). However, we believe the way the type casts are structured, the code is not actually protecting against such underflow because pwdstr isn’t cast into a signed long until after the subtraction occurs. To properly protect this code against underflow, we believe it should be changed to something like the following: if (len - 1 - ((long)pos – (long)pwdstr) != 32) Or, to enhance readability for junior engineers who may not know that the “long” type cast is implicitly of a signed integer type, we could include the `signed` keyword for added verbosity: if (len - 1 - ((signed long)pos – (signed long)pwdstr) != 32) Thank you! -
longpanda authored
-
adrian5 authored
Co-authored-by:longpanda <59477474+ventoy@users.noreply.github.com>
-
George authored
Changes detail to details and replug to reinsert. Which makes words flow with the sentance better.
-
Chrystian Rafael Rubio de Melo authored
-
- 24 Mar, 2022 2 commits
-
-
-
longpanda authored
-
- 22 Mar, 2022 3 commits
-
-
Celine Lee authored
I think this might be a minor typo-- since the conditional checks for `priority` to be in the signed int16 range, the error message should line up with that expected range.
-
longpanda authored
-
longpanda authored
-
- 11 Mar, 2022 3 commits
-
-
longpanda authored
-
VenusGirl❤ authored
Korean Help
-
B̅ authored
Modify Japanese Translation for Grub Help Text to Keep up with 1.0.67 Release
-
- 08 Mar, 2022 2 commits
- 06 Mar, 2022 3 commits
- 23 Feb, 2022 2 commits
- 22 Feb, 2022 2 commits
- 19 Feb, 2022 4 commits
-
-
longpanda authored
-
marcellogianola authored
-
Tayfun Akkoyun authored
-
longpanda authored
-
- 18 Feb, 2022 2 commits
- 17 Feb, 2022 7 commits
- 16 Feb, 2022 1 commit
-
-
longpanda authored
-
- 15 Feb, 2022 3 commits