mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-23 15:55:10 +01:00
- Better buffer handling in mpi_read_file()
This commit is contained in:
parent
23fd5ea667
commit
cb37aa5912
4 changed files with 28 additions and 7 deletions
1
tests/data_files/mpi_too_big
Normal file
1
tests/data_files/mpi_too_big
Normal file
|
|
@ -0,0 +1 @@
|
|||
64380800680355443923012985496149269915138610753401343291807343952413826484237063006136971539473913409092293733259038472039713333596954925632262097903668663321390395296617510709676918001764616185157314759639015364380800680355443923012985496149269915138610753401343291807343952413826484237063006136971539473913409092293733259038472039713333596954925632262097903668663321390395296617510709676918001764616185157314759639015364380800680355443923012985496149269915138610753401343291807343952413826484237063006136971539473913409092293733259038472039713333596954925632262097903668663321390395296617510709676918001764616185157314759639015364380800680355443923012985496149269915138610753401343291807343952413826484237063006136971539473913409092293733259038472039713333596954925632262097903668663321390395296617510709676918001764616185157314759639015364380800680355443923012985496149269915138610753401343291807343952413826484237063006136971539473913409092293733259038472039713333596954925632262097903668663321390395296617510709676918001764616185157314759639015364380800680355443923012985496149269915138610753401343291807343952413826484237063006136971539473913409092293733259038472039713333596954925632262097903668663321390395296617510709676918001764616185157
|
||||
|
|
@ -61,6 +61,10 @@ Test mpi_read_file #2 (Illegal input)
|
|||
depends_on:POLARSSL_FS_IO
|
||||
mpi_read_file:10:"data_files/hash_file_3":"":0
|
||||
|
||||
Test mpi_read_file #3 (Input too big)
|
||||
depends_on:POLARSSL_FS_IO
|
||||
mpi_read_file:10:"data_files/mpi_too_big":"":POLARSSL_ERR_MPI_BUFFER_TOO_SMALL
|
||||
|
||||
Base test mpi_write_file #1
|
||||
depends_on:POLARSSL_FS_IO
|
||||
mpi_write_file:10:"56125680981752282334141896320372489490613963693556392520816017892111350604111697682705498319512049040516698827829292076808006940873974979584527073481012636016353913462376755556720019831187364993587901952757307830896531678727717924":16:"data_files/mpi_write":0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue