buffer-overflow
AudioRecord problems with non-HTC devices
I\'m having troubles using AudioRecord. An example using some of the code derived from the splmeter project:[详细]
2023-01-02 20:57 分类:问答if one complains about gets(), why not do the same with scanf("%s",...)?
From man gets: Never use gets().Because it is impossible to tell without knowing the datainadvancehowmany[详细]
2023-01-02 13:57 分类:问答Illustration of buffer overflows for students (linux, C)
My friend is teacher of first-year CS students. We want to show them buffer overflow exploitation.But modern distribs are protected from simples buffer overflows:[详细]
2022-12-27 15:03 分类:问答Is a [DataMember] that is a byte array in a WCF contract a security hazard?
Am I exposing my servic开发者_运维知识库e to a buffer overflow attack?If so how would you defend against this?Just my own insight: No, the managed code is not susceptible to overrun attacks, and the u[详细]
2022-12-26 13:12 分类:问答How to write a buffer-overflow exploit in GCC,windows XP,x86?
void function(int a, int b, int c) { char buffer1[5]; char buffer2[10]; int *ret; ret = buffer1 + 12; (*ret) += 8;//why is it 8??[详细]
2022-12-25 15:40 分类:问答Is there a buffer overflow helloworld for c++?
I tried the code provided by this question,but it doesn\'t work. How to contrive an overflow to wrap my head around?[详细]
2022-12-24 17:58 分类:问答How does memory management in Java and C# differ?
I was reading through 2010 CWE/SANS Top 25 Most Dangerous Programming Errors and one of the entries is for Buffer Copy without Checking Size of Input. It suggests using a language with features to pre[详细]
2022-12-23 07:50 分类:问答Causing PHP to crash
How can PHP c开发者_开发知识库ause memory leaks, buffer overflows, stack overflows and any other errors of such kind? Can PHP even cause such errors?By causing some kinda infinite recursion, you can c[详细]
2022-12-22 15:17 分类:问答string overflow detection in C
We are using DevPartners boundchecker for detect开发者_Go百科ing memory leak issues. It is doing a wonderful job, though it does not find string overflows like the following[详细]
2022-12-21 14:23 分类:问答How to turn off gcc compiler optimization to enable buffer overflow
I\'m working on a homework开发者_如何学运维 problem that requires disabling compiler optimization protection for it to work. I\'m using gcc 4.4.1 on ubuntu linux, but can\'t figure out which flags are[详细]
2022-12-21 03:17 分类:问答