Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

avoid nullptr as the param of fl_value_new_string #15

Merged
merged 1 commit into from
Aug 27, 2023

Conversation

fufesou
Copy link
Contributor

@fufesou fufesou commented Aug 16, 2023

rustdesk/rustdesk#4997 (comment)

If the param of fl_value_new_string is NULL, this function will not report error.
The function returns an error value, which causes crash.

https://github.com/flutter/engine/blob/70b5700b79f6da03ecfb61f6d9135ca3eef51628/shell/platform/linux/fl_value.cc#L642

@codecov
Copy link

codecov bot commented Aug 17, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (d3d4f87) 58.10% compared to head (10ebd5a) 58.10%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #15   +/-   ##
=======================================
  Coverage   58.10%   58.10%           
=======================================
  Files           3        3           
  Lines          74       74           
=======================================
  Hits           43       43           
  Misses         31       31           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@lijy91
Copy link
Member

lijy91 commented Aug 27, 2023

LGTM

@lijy91 lijy91 merged commit e101d85 into leanflutter:main Aug 27, 2023
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants