mirror of
https://github.com/github/codeql.git
synced 2026-07-07 20:45:28 +02:00
6 lines
161 B
C++
6 lines
161 B
C++
void f(char *p) {
|
|
int my_ptr = p; //Wrong: pointer assigned to int, would be incorrect if sizeof(char*)
|
|
//is larger than sizeof(int)
|
|
//...
|
|
}
|