Click here to Skip to main content
15,921,113 members
Home / Discussions / C#
   

C#

 
AnswerRe: Unzip file from resources Pin
Daniel Pfeffer21-Aug-18 20:52
professionalDaniel Pfeffer21-Aug-18 20:52 
GeneralRe: Unzip file from resources Pin
JCompiler22-Aug-18 2:33
JCompiler22-Aug-18 2:33 
GeneralRe: Unzip file from resources Pin
Richard Deeming22-Aug-18 2:43
mveRichard Deeming22-Aug-18 2:43 
GeneralRe: Unzip file from resources Pin
JCompiler22-Aug-18 3:05
JCompiler22-Aug-18 3:05 
GeneralRe: Unzip file from resources Pin
JCompiler22-Aug-18 4:30
JCompiler22-Aug-18 4:30 
GeneralRe: Unzip file from resources Pin
Richard Deeming22-Aug-18 4:42
mveRichard Deeming22-Aug-18 4:42 
AnswerRe: Unzip file from resources Pin
jschell25-Aug-18 4:36
jschell25-Aug-18 4:36 
GeneralRe: Unzip file from resources Pin
Richard Deeming28-Aug-18 3:06
mveRichard Deeming28-Aug-18 3: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 3:39
Member 1204569221-Aug-18 3:39 
AnswerRe: Use custom services inside OAuthorizationProviders Pin
Pete O'Hanlon21-Aug-18 4:01
mvePete O'Hanlon21-Aug-18 4:01 
GeneralRe: Use custom services inside OAuthorizationProviders Pin
Member 1204569221-Aug-18 4:09
Member 1204569221-Aug-18 4:09 
GeneralRe: Use custom services inside OAuthorizationProviders Pin
dan!sh 21-Aug-18 4:41
professional dan!sh 21-Aug-18 4:41 
GeneralRe: Use custom services inside OAuthorizationProviders Pin
Member 1204569221-Aug-18 8:34
Member 1204569221-Aug-18 8:34 
GeneralRe: Use custom services inside OAuthorizationProviders Pin
Dave Kreskowiak21-Aug-18 9:29
mveDave Kreskowiak21-Aug-18 9:29 
GeneralRe: Use custom services inside OAuthorizationProviders Pin
OriginalGriff21-Aug-18 4:59
mveOriginalGriff21-Aug-18 4:59 
GeneralRe: Use custom services inside OAuthorizationProviders Pin
Member 1204569221-Aug-18 8:30
Member 1204569221-Aug-18 8:30 
GeneralRe: Use custom services inside OAuthorizationProviders Pin
OriginalGriff21-Aug-18 8:38
mveOriginalGriff21-Aug-18 8:38 
GeneralRe: Use custom services inside OAuthorizationProviders Pin
Member 1204569221-Aug-18 20:27
Member 1204569221-Aug-18 20:27 
AnswerRe: Use custom services inside OAuthorizationProviders Pin
Richard Deeming22-Aug-18 2:40
mveRichard Deeming22-Aug-18 2:40 
Questionhelp to solve C# codes Pin
Ali 2Fan19-Aug-18 9:32
Ali 2Fan19-Aug-18 9:32 
AnswerRe: help to solve C# codes Pin
OriginalGriff19-Aug-18 9:34
mveOriginalGriff19-Aug-18 9:34 
AnswerRe: help to solve C# codes Pin
Dave Kreskowiak20-Aug-18 10:49
mveDave Kreskowiak20-Aug-18 10:49 
QuestionHow to Merge DataGridView Cell in Winforms ? Pin
Member 245846715-Aug-18 17:32
Member 245846715-Aug-18 17:32 
AnswerRe: How to Merge DataGridView Cell in Winforms ? Pin
dan!sh 16-Aug-18 3:20
professional dan!sh 16-Aug-18 3:20 
QuestionC# add usb device to appxmanifest capabilities for Bosch BNO055 Pin
RAFish040415-Aug-18 8:48
RAFish040415-Aug-18 8: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.