Home / Vulnerability Database / Kotlin : Platform-specific file separator
Kotlin

Kotlin : Platform-specific file separator

Classification

Overview

Using hardcoded file separator leads to problems with application portability.

Different operating systems use different file separators. For example, Windows uses “\”, whereas UNIX-like operating system use “/”. If you intend to run the application on different platforms, the hardcoded file separator can change the application logic or cause a denial of service.

MEDIUM

DerScanner Severity Score

Do you want to fix Kotlin : Platform-specific file separator in your application?

See also

Kotlin

Kotlin : Missing required cryptographic step

Kotlin

Kotlin : Logging into system output

Kotlin

Kotlin : Call of notify() in synchronized block