Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix typo in the alert message ofInvalidatedEnvStringPointers.qll#943

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
jeongsoolee09 merged 1 commit intogithub:mainfromjketema:typo
Aug 18, 2025
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
| test.c:21:14:21:19 | tmpvar | This pointer was returned by a $@ and may have been overwritten by thesusequent $@. | test.c:13:12:13:17 | call to getenv | call to getenv | test.c:17:13:17:18 | call to getenv | call to getenv |
| test.c:134:14:134:17 | temp | This pointer was returned by a $@ and may have been overwritten by thesusequent $@. | test.c:130:12:130:17 | call to getenv | call to getenv | test.c:131:11:131:16 | call to getenv | call to getenv |
| test.c:134:20:134:22 | tmp | This pointer was returned by a $@ and may have been overwritten by thesusequent $@. | test.c:131:11:131:16 | call to getenv | call to getenv | test.c:130:12:130:17 | call to getenv | call to getenv |
| test.c:165:14:165:26 | tmpvar_global | This pointer was returned by a $@ and may have been overwritten by thesusequent $@. | test.c:157:19:157:24 | call to getenv | call to getenv | test.c:161:20:161:25 | call to getenv | call to getenv |
| test.c:188:18:188:18 | r | This pointer was returned by a $@ and may have been overwritten by thesusequent $@. | test.c:185:7:185:15 | call to setlocale | call to setlocale | test.c:187:8:187:17 | call to localeconv | call to localeconv |
| test.c:208:10:208:15 | tmpvar | This pointer was returned by a $@ and may have been overwritten by thesusequent $@. | test.c:202:12:202:17 | call to getenv | call to getenv | test.c:206:3:206:8 | call to f11fun | call to f11fun |
| test.c:21:14:21:19 | tmpvar | This pointer was returned by a $@ and may have been overwritten by thesubsequent $@. | test.c:13:12:13:17 | call to getenv | call to getenv | test.c:17:13:17:18 | call to getenv | call to getenv |
| test.c:134:14:134:17 | temp | This pointer was returned by a $@ and may have been overwritten by thesubsequent $@. | test.c:130:12:130:17 | call to getenv | call to getenv | test.c:131:11:131:16 | call to getenv | call to getenv |
| test.c:134:20:134:22 | tmp | This pointer was returned by a $@ and may have been overwritten by thesubsequent $@. | test.c:131:11:131:16 | call to getenv | call to getenv | test.c:130:12:130:17 | call to getenv | call to getenv |
| test.c:165:14:165:26 | tmpvar_global | This pointer was returned by a $@ and may have been overwritten by thesubsequent $@. | test.c:157:19:157:24 | call to getenv | call to getenv | test.c:161:20:161:25 | call to getenv | call to getenv |
| test.c:188:18:188:18 | r | This pointer was returned by a $@ and may have been overwritten by thesubsequent $@. | test.c:185:7:185:15 | call to setlocale | call to setlocale | test.c:187:8:187:17 | call to localeconv | call to localeconv |
| test.c:208:10:208:15 | tmpvar | This pointer was returned by a $@ and may have been overwritten by thesubsequent $@. | test.c:202:12:202:17 | call to getenv | call to getenv | test.c:206:3:206:8 | call to f11fun | call to f11fun |
2 changes: 2 additions & 0 deletionschange_notes/2025-08-15-typo-in-alert-message.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
-`ENV34-C`,`RULE-21-20`,`RULE-25-5-3`:`DoNotStorePointersReturnedByEnvFunctions.ql`,`CallToSetlocaleInvalidatesOldPointers.ql`,`CallToSetlocaleInvalidatesOldPointersMisra.ql`
- Fixed a misspelling of "subsequent" in the alert message.
Original file line numberDiff line numberDiff line change
Expand Up@@ -69,10 +69,10 @@ query predicate problems(
// The two calls are incompatible
fc1 != fc2 and
incompatibleFunctions(fc1.getTarget(), fc2.getFunction()) and
// The pointer returned by fc1 accessed in `e`afer the second `GetenvFunctionCall`
// The pointer returned by fc1 accessed in `e`after the second `GetenvFunctionCall`
DataFlow::localExprFlow(fc1, e) and
e = fc2.getASuccessor+() and
message = "This pointer was returned by a $@ and may have been overwritten by thesusequent $@." and
message = "This pointer was returned by a $@ and may have been overwritten by thesubsequent $@." and
fc1text = fc1.toString() and
fc2text = fc2.toString()
}
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
| test.cpp:21:14:21:19 | tmpvar | This pointer was returned by a $@ and may have been overwritten by thesusequent $@. | test.cpp:13:12:13:17 | call to getenv | call to getenv | test.cpp:17:13:17:18 | call to getenv | call to getenv |
| test.cpp:134:14:134:17 | temp | This pointer was returned by a $@ and may have been overwritten by thesusequent $@. | test.cpp:130:12:130:17 | call to getenv | call to getenv | test.cpp:131:11:131:16 | call to getenv | call to getenv |
| test.cpp:134:20:134:22 | tmp | This pointer was returned by a $@ and may have been overwritten by thesusequent $@. | test.cpp:131:11:131:16 | call to getenv | call to getenv | test.cpp:130:12:130:17 | call to getenv | call to getenv |
| test.cpp:165:14:165:26 | tmpvar_global | This pointer was returned by a $@ and may have been overwritten by thesusequent $@. | test.cpp:157:19:157:24 | call to getenv | call to getenv | test.cpp:161:20:161:25 | call to getenv | call to getenv |
| test.cpp:188:18:188:18 | r | This pointer was returned by a $@ and may have been overwritten by thesusequent $@. | test.cpp:185:7:185:15 | call to setlocale | call to setlocale | test.cpp:187:8:187:17 | call to localeconv | call to localeconv |
| test.cpp:208:10:208:15 | tmpvar | This pointer was returned by a $@ and may have been overwritten by thesusequent $@. | test.cpp:202:12:202:17 | call to getenv | call to getenv | test.cpp:206:3:206:8 | call to f11fun | call to f11fun |
| test.cpp:216:16:216:17 | r1 | This pointer was returned by a $@ and may have been overwritten by thesusequent $@. | test.cpp:214:14:214:18 | call to ctime | call to ctime | test.cpp:215:3:215:9 | call to asctime | call to asctime |
| test.cpp:226:16:226:17 | r1 | This pointer was returned by a $@ and may have been overwritten by thesusequent $@. | test.cpp:222:14:222:18 | call to ctime | call to ctime | test.cpp:225:14:225:20 | call to asctime | call to asctime |
| test.cpp:231:16:231:17 | r2 | This pointer was returned by a $@ and may have been overwritten by thesusequent $@. | test.cpp:225:14:225:20 | call to asctime | call to asctime | test.cpp:229:8:229:12 | call to ctime | call to ctime |
| test.cpp:240:16:240:17 | r1 | This pointer was returned by a $@ and may have been overwritten by thesusequent $@. | test.cpp:236:19:236:27 | call to localtime | call to localtime | test.cpp:239:19:239:24 | call to gmtime | call to gmtime |
| test.cpp:245:16:245:17 | r2 | This pointer was returned by a $@ and may have been overwritten by thesusequent $@. | test.cpp:239:19:239:24 | call to gmtime | call to gmtime | test.cpp:243:8:243:16 | call to localtime | call to localtime |
| test.cpp:21:14:21:19 | tmpvar | This pointer was returned by a $@ and may have been overwritten by thesubsequent $@. | test.cpp:13:12:13:17 | call to getenv | call to getenv | test.cpp:17:13:17:18 | call to getenv | call to getenv |
| test.cpp:134:14:134:17 | temp | This pointer was returned by a $@ and may have been overwritten by thesubsequent $@. | test.cpp:130:12:130:17 | call to getenv | call to getenv | test.cpp:131:11:131:16 | call to getenv | call to getenv |
| test.cpp:134:20:134:22 | tmp | This pointer was returned by a $@ and may have been overwritten by thesubsequent $@. | test.cpp:131:11:131:16 | call to getenv | call to getenv | test.cpp:130:12:130:17 | call to getenv | call to getenv |
| test.cpp:165:14:165:26 | tmpvar_global | This pointer was returned by a $@ and may have been overwritten by thesubsequent $@. | test.cpp:157:19:157:24 | call to getenv | call to getenv | test.cpp:161:20:161:25 | call to getenv | call to getenv |
| test.cpp:188:18:188:18 | r | This pointer was returned by a $@ and may have been overwritten by thesubsequent $@. | test.cpp:185:7:185:15 | call to setlocale | call to setlocale | test.cpp:187:8:187:17 | call to localeconv | call to localeconv |
| test.cpp:208:10:208:15 | tmpvar | This pointer was returned by a $@ and may have been overwritten by thesubsequent $@. | test.cpp:202:12:202:17 | call to getenv | call to getenv | test.cpp:206:3:206:8 | call to f11fun | call to f11fun |
| test.cpp:216:16:216:17 | r1 | This pointer was returned by a $@ and may have been overwritten by thesubsequent $@. | test.cpp:214:14:214:18 | call to ctime | call to ctime | test.cpp:215:3:215:9 | call to asctime | call to asctime |
| test.cpp:226:16:226:17 | r1 | This pointer was returned by a $@ and may have been overwritten by thesubsequent $@. | test.cpp:222:14:222:18 | call to ctime | call to ctime | test.cpp:225:14:225:20 | call to asctime | call to asctime |
| test.cpp:231:16:231:17 | r2 | This pointer was returned by a $@ and may have been overwritten by thesubsequent $@. | test.cpp:225:14:225:20 | call to asctime | call to asctime | test.cpp:229:8:229:12 | call to ctime | call to ctime |
| test.cpp:240:16:240:17 | r1 | This pointer was returned by a $@ and may have been overwritten by thesubsequent $@. | test.cpp:236:19:236:27 | call to localtime | call to localtime | test.cpp:239:19:239:24 | call to gmtime | call to gmtime |
| test.cpp:245:16:245:17 | r2 | This pointer was returned by a $@ and may have been overwritten by thesubsequent $@. | test.cpp:239:19:239:24 | call to gmtime | call to gmtime | test.cpp:243:8:243:16 | call to localtime | call to localtime |
Loading

[8]ページ先頭

©2009-2025 Movatter.jp