Click here to Skip to main content
15,568,971 members
Home / Discussions / C#
   

C#

 
AnswerRe: Unzip file from resources Pin
Daniel Pfeffer21-Aug-18 21:52
professionalDaniel Pfeffer21-Aug-18 21:52 
GeneralRe: Unzip file from resources Pin
JCompiler22-Aug-18 3:33
JCompiler22-Aug-18 3:33 
GeneralRe: Unzip file from resources Pin
Richard Deeming22-Aug-18 3:43
mveRichard Deeming22-Aug-18 3:43 
GeneralRe: Unzip file from resources Pin
JCompiler22-Aug-18 4:05
JCompiler22-Aug-18 4:05 
GeneralRe: Unzip file from resources Pin
JCompiler22-Aug-18 5:30
JCompiler22-Aug-18 5:30 
GeneralRe: Unzip file from resources Pin
Richard Deeming22-Aug-18 5:42
mveRichard Deeming22-Aug-18 5:42 
AnswerRe: Unzip file from resources Pin
jschell25-Aug-18 5:36
jschell25-Aug-18 5:36 
GeneralRe: Unzip file from resources Pin
Richard Deeming28-Aug-18 4:06
mveRichard Deeming28-Aug-18 4:06 
jschell wrote:
So a 1k zip file is ok but if it is possible and you do not specifically code a check for this, that the file is 100 meg or 1 gig, then unzipping in memory is going to be a problem.

If the file could be modified by a malicious actor, even a small zip file could be a problem:
One example of a zip bomb is the file 42.zip, which is a zip file consisting of 42 kilobytes of compressed data, containing five layers of nested zip files in sets of 16, each bottom layer archive containing a 4.3-gigabyte file for a total of 4.5 petabytes of uncompressed data.




"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer

QuestionUse custom services inside OAuthorizationProviders Pin
Member 1204569221-Aug-18 4:39
Member 1204569221-Aug-18 4:39 
AnswerRe: Use custom services inside OAuthorizationProviders Pin
Pete O'Hanlon21-Aug-18 5:01
mvaPete O'Hanlon21-Aug-18 5:01 
GeneralRe: Use custom services inside OAuthorizationProviders Pin
Member 1204569221-Aug-18 5:09
Member 1204569221-Aug-18 5:09 
GeneralRe: Use custom services inside OAuthorizationProviders Pin
dan!sh 21-Aug-18 5:41
professional dan!sh 21-Aug-18 5:41 
GeneralRe: Use custom services inside OAuthorizationProviders Pin
Member 1204569221-Aug-18 9:34
Member 1204569221-Aug-18 9:34 
GeneralRe: Use custom services inside OAuthorizationProviders Pin
Dave Kreskowiak21-Aug-18 10:29
mveDave Kreskowiak21-Aug-18 10:29 
GeneralRe: Use custom services inside OAuthorizationProviders Pin
OriginalGriff21-Aug-18 5:59
mvaOriginalGriff21-Aug-18 5:59 
GeneralRe: Use custom services inside OAuthorizationProviders Pin
Member 1204569221-Aug-18 9:30
Member 1204569221-Aug-18 9:30 
GeneralRe: Use custom services inside OAuthorizationProviders Pin
OriginalGriff21-Aug-18 9:38
mvaOriginalGriff21-Aug-18 9:38 
GeneralRe: Use custom services inside OAuthorizationProviders Pin
Member 1204569221-Aug-18 21:27
Member 1204569221-Aug-18 21:27 
AnswerRe: Use custom services inside OAuthorizationProviders Pin
Richard Deeming22-Aug-18 3:40
mveRichard Deeming22-Aug-18 3:40 
Questionhelp to solve C# codes Pin
Ali 2Fan19-Aug-18 10:32
Ali 2Fan19-Aug-18 10:32 
AnswerRe: help to solve C# codes Pin
OriginalGriff19-Aug-18 10:34
mvaOriginalGriff19-Aug-18 10:34 
AnswerRe: help to solve C# codes Pin
Dave Kreskowiak20-Aug-18 11:49
mveDave Kreskowiak20-Aug-18 11:49 
QuestionHow to Merge DataGridView Cell in Winforms ? Pin
Member 245846715-Aug-18 18:32
Member 245846715-Aug-18 18:32 
AnswerRe: How to Merge DataGridView Cell in Winforms ? Pin
dan!sh 16-Aug-18 4:20
professional dan!sh 16-Aug-18 4:20 
QuestionC# add usb device to appxmanifest capabilities for Bosch BNO055 Pin
RAFish040415-Aug-18 9:48
RAFish040415-Aug-18 9:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.