We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a80e60e commit f9a91c4Copy full SHA for f9a91c4
chrome/android/webapk/libs/client/src/org/chromium/webapk/lib/client/WebApkVerifySignature.java
@@ -83,8 +83,9 @@ public class WebApkVerifySignature {
83
/** Maximum file comment length permitted. */
84
private static final int MAX_FILE_COMMENT_LENGTH = 0;
85
86
- /** Maximum extra field length permitted. */
87
- private static final int MAX_EXTRA_LENGTH = 8;
+ /** Maximum extra field length permitted.
+ * Support .so alignment and a 64 bytes bytes for any extras. */
88
+ private static final int MAX_EXTRA_LENGTH = 4096 + 64;
89
90
/** The memory buffer we are going to read the zip from. */
91
private final ByteBuffer mBuffer;
chrome/test/data/webapks/extra-field-too-large.apk
4.02 KB
0 commit comments