Reviewed By: jvillard Differential Revision: D3405859 fbshipit-source-id: 24a068fmaster
parent
229ca26c8b
commit
d707c717f0
@ -0,0 +1,15 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (c) 2015 - present Facebook, Inc.
|
||||||
|
* All rights reserved.
|
||||||
|
*
|
||||||
|
* This source code is licensed under the BSD style license found in the
|
||||||
|
* LICENSE file in the root directory of this source tree. An additional grant
|
||||||
|
* of patent rights can be found in the PATENTS file in the same directory.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
void test() {
|
||||||
|
int* s = NULL;
|
||||||
|
*s = 42;
|
||||||
|
}
|
@ -0,0 +1,5 @@
|
|||||||
|
LOCAL_PATH := $(call my-dir)
|
||||||
|
include $(CLEAR_VARS)
|
||||||
|
LOCAL_MODULE := hello
|
||||||
|
LOCAL_SRC_FILES := ../hello.c
|
||||||
|
include $(BUILD_SHARED_LIBRARY)
|
@ -0,0 +1,7 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"bug_type": "NULL_DEREFERENCE",
|
||||||
|
"file": "hello.c",
|
||||||
|
"procedure": "test"
|
||||||
|
}
|
||||||
|
]
|
Loading…
Reference in new issue