@@ -375,11 +375,11 @@ func test(buffer1: UnsafeMutablePointer<UInt8>, buffer2: UnsafeMutablePointer<UI
375375 remoteData. copyBytes ( to: buffer2, count: remoteData. count)
376376
377377 _ = sqlite3_open ( " myFile.sqlite3 " , & db) // GOOD
378- _ = sqlite3_open ( remoteString, & db) // $ MISSING: hasPathInjection=253
378+ _ = sqlite3_open ( remoteString, & db) // $ hasPathInjection=253
379379 _ = sqlite3_open16 ( buffer1, & db) // GOOD
380- _ = sqlite3_open16 ( buffer2, & db) // $ MISSING: hasPathInjection=253
380+ _ = sqlite3_open16 ( buffer2, & db) // $ hasPathInjection=373
381381 _ = sqlite3_open_v2 ( " myFile.sqlite3 " , & db, 0 , nil ) // GOOD
382- _ = sqlite3_open_v2 ( remoteString, & db, 0 , nil ) // $ MISSING: hasPathInjection=253
382+ _ = sqlite3_open_v2 ( remoteString, & db, 0 , nil ) // $ hasPathInjection=253
383383
384384 sqlite3_temp_directory = UnsafeMutablePointer < CChar > ( mutating: NSString ( string: " myFile.sqlite3 " ) . utf8String) // GOOD
385385 sqlite3_temp_directory = UnsafeMutablePointer < CChar > ( mutating: NSString ( string: remoteString) . utf8String) // $ MISSING: hasPathInjection=253
@@ -390,7 +390,7 @@ func test(buffer1: UnsafeMutablePointer<UInt8>, buffer2: UnsafeMutablePointer<UI
390390 try ! _ = Connection ( Connection . Location. uri ( " myFile.sqlite3 " ) ) // GOOD
391391 try ! _ = Connection ( Connection . Location. uri ( remoteString) ) // $ MISSING: hasPathInjection=253
392392 try ! _ = Connection ( " myFile.sqlite3 " ) // GOOD
393- try ! _ = Connection ( remoteString) // $ MISSING: hasPathInjection=253
393+ try ! _ = Connection ( remoteString) // $ hasPathInjection=253
394394}
395395
396396func testBarriers( ) {
0 commit comments