-
Notifications
You must be signed in to change notification settings - Fork 744
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move
BanSerializableRead
annotations to an internal package
and fix some broken javadoc. PiperOrigin-RevId: 350871257
- Loading branch information
Showing
7 changed files
with
18 additions
and
114 deletions.
There are no files selected for viewing
35 changes: 0 additions & 35 deletions
35
...ava/com/google/errorprone/annotations/SuppressBanSerializableCompletedSecurityReview.java
This file was deleted.
Oops, something went wrong.
35 changes: 0 additions & 35 deletions
35
...src/main/java/com/google/errorprone/annotations/SuppressBanSerializableForLegacyCode.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
The Java `Serializable` API is very powerful, and very dangerous. Any | ||
consumption of a serialized object that cannot be explicitly trusted will likely | ||
result in a critical remote code execution bug that will give an attacker | ||
control of the application. (See | ||
[Effective Java 3rd Edition §84][ej3e-84]) | ||
|
||
Consider using less powerful serialization methods, such as JSON or XML. | ||
|
||
[ej3e-84]: https://books.google.com/books?id=BIpDDwAAQBAJ |