GO-2022-0392 
             and 4 other vulnerabilities
           
          
            
  
    GO-2022-0392 : Denial of service in go-ethereum due to CVE-2020-28362 in github.com/ethereum/go-ethereum
  
 
  
    GO-2022-0456 : DoS via malicious p2p message in Go Ethereum in github.com/ethereum/go-ethereum
  
 
  
    GO-2022-0775 : Erroneous Proof of Work calculation in geth in github.com/ethereum/go-ethereum
  
 
  
    GO-2023-2046 : Unbounded memory consumption in github.com/ethereum/go-ethereum
  
 
  
    GO-2024-2819 : Denial of Service in github.com/ethereum/go-ethereum
  
 
           
         
     
    
  
  
  
    
      
        
          
            Discover Packages 
           
        
          
            github.com/ethereum/go-ethereum 
           
        
          
            common 
           
        
        
          
            bitutil
           
          
            
               
          
        
       
     
   
  
    
  
    
       
    
    
      package 
    
    
      
        
           
      
    
   
    
      
  
    
      
  
    
      Version:  
        v1.8.19
     
    
      Opens a new window with list of versions in this module.
    
    
    
   
      
  
    Published: Nov 28, 2018
   
      
  
    License: GPL-3.0 
      
    
   
  
    Opens a new window with license information.
  
      
        
  
    
      Imports:  3
     
   
  
    Opens a new window with list of imports.
  
        
  
    
       Imported by:  1,790
     
   
  
    Opens a new window with list of known importers.
  
      
    
   
  
  
    
   
 
    
      
    
    
  
  
    
      
        
          Documentation 
        
       
     
  
 
    
  
    
      
      
        
          
  
    
      ¶ 
     
    
  
    
  
    
      
        
 
    
Package bitutil implements fast bitwise operations.
 
  
  
  
  
  
	  
  
  
    
    
    
      func ANDBytes(dst, a, b []byte ) int  
     
  ANDBytes ands the bytes in a and b. The destination is assumed to have enough
space. Returns the number of bytes and'd.
  
         
	  
  
  
    
    
    
  CompressBytes compresses the input byte slice according to the sparse bitset
representation algorithm. If the result is bigger than the original input, no
compression is done.
  
         
	  
  
  
    
    
    
  DecompressBytes decompresses data with a known target size. If the input data
matches the size of the target, it means no compression was done in the first
place.
  
         
	  
  
  
    
    
    
  ORBytes ors the bytes in a and b. The destination is assumed to have enough
space. Returns the number of bytes or'd.
  
         
	  
  
  
    
    
    
  TestBytes tests whether any bit is set in the input byte slice.
  
         
	  
  
  
    
    
    
      func XORBytes(dst, a, b []byte ) int  
     
  XORBytes xors the bytes in a and b. The destination is assumed to have enough
space. Returns the number of bytes xor'd.
  
           
      
     
   
        
      
      
        
  
    
      ¶ 
     
   
      
      
     
   
   Click to show internal directories. 
   Click to hide internal directories.