Commit efbbf16
Guard base64 data URL image decoding against unbounded memory allocation (#10)
* Initial plan
* Add pre/post-decode size guards for data URL base64 images
Co-authored-by: jacobjmc <111402762+jacobjmc@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jacobjmc <111402762+jacobjmc@users.noreply.github.com>1 parent 575a423 commit efbbf16
File tree
1 file changed
+7
-0
lines changed1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1129 | 1129 | | |
1130 | 1130 | | |
1131 | 1131 | | |
| 1132 | + | |
| 1133 | + | |
| 1134 | + | |
| 1135 | + | |
1132 | 1136 | | |
1133 | 1137 | | |
1134 | 1138 | | |
| 1139 | + | |
| 1140 | + | |
| 1141 | + | |
1135 | 1142 | | |
1136 | 1143 | | |
1137 | 1144 | | |
| |||
0 commit comments