There are some rar compression packages that do not throw an exception if no password is entered #571

Open
opened 2026-01-29 22:13:56 +00:00 by claunia · 6 comments
Owner

Originally created by @yousa121380 on GitHub (Jun 4, 2023).

Unzipping the following package using the example in the USAGE.md will throws an NullReferenceException
image
This is a rar package I downloaded from the Internet
https://dz.certdon.com/down/2022down/3/18/NatTypeTesterrj.rar

Originally created by @yousa121380 on GitHub (Jun 4, 2023). Unzipping the following package using the example in the USAGE.md will throws an NullReferenceException ![image](https://github.com/adamhathcock/sharpcompress/assets/48246615/24369998-a51d-40c7-95f2-a759acf3f859) This is a rar package I downloaded from the Internet https://dz.certdon.com/down/2022down/3/18/NatTypeTesterrj.rar
Author
Owner

@yousa121380 commented on GitHub (Jun 4, 2023):

mabe this is same issue
https://github.com/adamhathcock/sharpcompress/issues/514#issuecomment-818490327

@yousa121380 commented on GitHub (Jun 4, 2023): mabe this is same issue https://github.com/adamhathcock/sharpcompress/issues/514#issuecomment-818490327
Author
Owner

@Erior commented on GitHub (Jun 6, 2023):

The link does not work for me ERR_NAME_NOT_RESOLVED

@Erior commented on GitHub (Jun 6, 2023): The link does not work for me ERR_NAME_NOT_RESOLVED
Author
Owner

@yousa121380 commented on GitHub (Jun 6, 2023):

The link does not work for me ERR_NAME_NOT_RESOLVED

After work I pull a request and put it in testcase

@yousa121380 commented on GitHub (Jun 6, 2023): > The link does not work for me ERR_NAME_NOT_RESOLVED After work I pull a request and put it in testcase
Author
Owner

@yousa121380 commented on GitHub (Jun 6, 2023):

https://github.com/adamhathcock/sharpcompress/pull/744 i upload and add it@Erior

@yousa121380 commented on GitHub (Jun 6, 2023): https://github.com/adamhathcock/sharpcompress/pull/744 i upload and add it@Erior
Author
Owner

@Erior commented on GitHub (Jun 6, 2023):

@yousa121380 , I created a pull where we now can skip over the encrypted files instead of throwing an exception, I guess that is what you were after?

@Erior commented on GitHub (Jun 6, 2023): @yousa121380 , I created a pull where we now can skip over the encrypted files instead of throwing an exception, I guess that is what you were after?
Author
Owner

@yousa121380 commented on GitHub (Jun 7, 2023):

@yousa121380 , I created a pull where we now can skip over the encrypted files instead of throwing an exception, I guess that is what you were after?

yes, i test encrypted zip and it can throw exception then skip over, i want that it have same behave in all encrypted files

@yousa121380 commented on GitHub (Jun 7, 2023): > @yousa121380 , I created a pull where we now can skip over the encrypted files instead of throwing an exception, I guess that is what you were after? yes, i test encrypted zip and it can throw exception then skip over, i want that it have same behave in all encrypted files
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#571