Skip to content
Snippets Groups Projects
Select Git revision
  • main
  • master default
  • 7.0.0.202409031743-jpms
  • 7.0.0-jpms-1
4 results

jgit

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Matthias Sohn authored
    This issue was detected by a GitHub CodeQL security scan run on JGit
    source code.
    
    Description of the error raised by the security scan:
    "In a loop condition, comparison of a value of a narrow type with a
    value of a wide type may always evaluate to true if the wider value is
    sufficiently large (or small). This is because the narrower value may
    overflow. This can lead to an infinite loop."
    
    Fix this by using type `long` for the local variable `done`.
    
    Change-Id: Ibd4f71299e3f2e40d4331227bd143569a4264d8c
    9b73ec4d
    History
    user avatar 9b73ec4d
    Name Last commit Last update