cloudflare / cloudflare/cfssl

sqlite3-binding.c:125322:10: warning: function may return address of local variable

Open
#1,106 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
9.5k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

Hi, should I be concerned or save to ignore? Thanks!

```
[pi@raspi ~]$ go get -u github.com/cloudflare/cloudflared/cmd/cloudflared
# github.com/cloudflare/cloudflared/vendor/github.com/mattn/go-sqlite3
sqlite3-binding.c: In function ‘sqlite3SelectNew’:
sqlite3-binding.c:125322:10: warning: function may return address of local variable [-Wreturn-local-addr]
125322 | return pNew;
| ^~~~
sqlite3-binding.c:125282:10: note: declared here
125282 | Select standin;
| ^~~~~~~
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.