René's URL Explorer Experiment


Title: module adapter: avoid module init crash in case of ipc data invalid by btian1 · Pull Request #7992 · thesofproject/sof · GitHub

Open Graph Title: module adapter: avoid module init crash in case of ipc data invalid by btian1 · Pull Request #7992 · thesofproject/sof

X Title: module adapter: avoid module init crash in case of ipc data invalid by btian1 · Pull Request #7992 · thesofproject/sof

Description: Sound Open Firmware. Contribute to thesofproject/sof development by creating an account on GitHub.

Open Graph Description: In ipc3 module creation, it is possible that ipc data is invalid or corrupted, in this case, module init may crash. This patch is adding error handling to avoid crash.

X Description: In ipc3 module creation, it is possible that ipc data is invalid or corrupted, in this case, module init may crash. This patch is adding error handling to avoid crash.

Opengraph URL: https://github.com/thesofproject/sof/pull/7992

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:2740722c-94ef-ca99-823b-564d97851adc
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA598:2A8696:40832CC:59324C5:6A54D574
html-safe-nonce1fd798867fb1845a2d1659505e4d1769f84bd691b1d893e5f7d238801684c8ea
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNTk4OjJBODY5Njo0MDgzMkNDOjU5MzI0QzU6NkE1NEQ1NzQiLCJ2aXNpdG9yX2lkIjoiNzI5NjQxMDIyNjU3MTY2MjcwOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace25d423eb86e5b9ea9fa01255ffc6c0483fc5213917b2b998beb0c2942e6e1f6
hovercard-subject-tagpull_request:1455741923
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/thesofproject/sof/7992/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/eefd8b92d617d62d6339f4f33b7ecbaa5e5ac465d9f191ac35f80c4313a650a3/thesofproject/sof/pull/7992
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/eefd8b92d617d62d6339f4f33b7ecbaa5e5ac465d9f191ac35f80c4313a650a3/thesofproject/sof/pull/7992
og:image:altIn ipc3 module creation, it is possible that ipc data is invalid or corrupted, in this case, module init may crash. This patch is adding error handling to avoid crash.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebtian1
hostnamegithub.com
expected-hostnamegithub.com
Nonea556215b071af6609619e2bbe6f00bdfbf0812ad723b1ae6c301858a7a829f54
turbo-cache-controlno-cache
go-importgithub.com/thesofproject/sof git https://github.com/thesofproject/sof.git
octolytics-dimension-user_id39773507
octolytics-dimension-user_loginthesofproject
octolytics-dimension-repository_id135623245
octolytics-dimension-repository_nwothesofproject/sof
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id135623245
octolytics-dimension-repository_network_root_nwothesofproject/sof
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release840b5d20d5a883c23cf56f5240b2c343d6cc0867
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/thesofproject/sof/pull/7992#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fthesofproject%2Fsof%2Fpull%2F7992
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fthesofproject%2Fsof%2Fpull%2F7992
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=thesofproject%2Fsof
Reloadhttps://github.com/thesofproject/sof/pull/7992
Reloadhttps://github.com/thesofproject/sof/pull/7992
Reloadhttps://github.com/thesofproject/sof/pull/7992
Please reload this pagehttps://github.com/thesofproject/sof/pull/7992
thesofproject https://github.com/thesofproject
sofhttps://github.com/thesofproject/sof
Notifications https://github.com/login?return_to=%2Fthesofproject%2Fsof
Fork 364 https://github.com/login?return_to=%2Fthesofproject%2Fsof
Star 675 https://github.com/login?return_to=%2Fthesofproject%2Fsof
Code https://github.com/thesofproject/sof
Issues 86 https://github.com/thesofproject/sof/issues
Pull requests 111 https://github.com/thesofproject/sof/pulls
Discussions https://github.com/thesofproject/sof/discussions
Actions https://github.com/thesofproject/sof/actions
Projects https://github.com/thesofproject/sof/projects
Security and quality 0 https://github.com/thesofproject/sof/security
Insights https://github.com/thesofproject/sof/pulse
Code https://github.com/thesofproject/sof
Issues https://github.com/thesofproject/sof/issues
Pull requests https://github.com/thesofproject/sof/pulls
Discussions https://github.com/thesofproject/sof/discussions
Actions https://github.com/thesofproject/sof/actions
Projects https://github.com/thesofproject/sof/projects
Security and quality https://github.com/thesofproject/sof/security
Insights https://github.com/thesofproject/sof/pulse
kv2019ihttps://github.com/kv2019i
thesofproject:mainhttps://github.com/thesofproject/sof/tree/main
btian1:fix_init_datahttps://github.com/btian1/sof/tree/fix_init_data
Conversationhttps://github.com/thesofproject/sof/pull/7992
Commits1 (1)https://github.com/thesofproject/sof/pull/7992/commits
Checkshttps://github.com/thesofproject/sof/pull/7992/checks
Files changedhttps://github.com/thesofproject/sof/pull/7992/files
module adapter: avoid module init crash in case of ipc data invalidhttps://github.com/thesofproject/sof/pull/7992#top
kv2019ihttps://github.com/kv2019i
thesofproject:mainhttps://github.com/thesofproject/sof/tree/main
btian1:fix_init_datahttps://github.com/btian1/sof/tree/fix_init_data
https://github.com/btian1
btian1https://github.com/btian1
Jul 31, 2023https://github.com/thesofproject/sof/pull/7992#issue-1828622402
Please reload this pagehttps://github.com/thesofproject/sof/pull/7992
Please reload this pagehttps://github.com/thesofproject/sof/pull/7992
https://github.com/btian1
btian1https://github.com/btian1
cujomalaineyhttps://github.com/cujomalainey
jsarhahttps://github.com/jsarha
July 31, 2023 07:57https://github.com/thesofproject/sof/pull/7992#event-9960528926
https://github.com/btian1
btian1https://github.com/btian1
Jul 31, 2023https://github.com/thesofproject/sof/pull/7992#issuecomment-1657865097
Please reload this pagehttps://github.com/thesofproject/sof/pull/7992
@jsarhahttps://github.com/jsarha
@cujomalaineyhttps://github.com/cujomalainey
#7985https://github.com/thesofproject/sof/pull/7985
#7830https://github.com/thesofproject/sof/pull/7830
Please reload this pagehttps://github.com/thesofproject/sof/pull/7992
https://github.com/dbaluta
dbalutahttps://github.com/dbaluta
Jul 31, 2023https://github.com/thesofproject/sof/pull/7992#issuecomment-1657880155
@btian1https://github.com/btian1
Please reload this pagehttps://github.com/thesofproject/sof/pull/7992
https://github.com/btian1
btian1https://github.com/btian1
Jul 31, 2023https://github.com/thesofproject/sof/pull/7992#issuecomment-1657929378
@btian1https://github.com/btian1
#7830https://github.com/thesofproject/sof/pull/7830
#7830https://github.com/thesofproject/sof/pull/7830
#7985https://github.com/thesofproject/sof/pull/7985
Please reload this pagehttps://github.com/thesofproject/sof/pull/7992
https://github.com/dbaluta
dbalutahttps://github.com/dbaluta
Jul 31, 2023https://github.com/thesofproject/sof/pull/7992#issuecomment-1658118305
#7830https://github.com/thesofproject/sof/pull/7830
#7830https://github.com/thesofproject/sof/pull/7830
#7985https://github.com/thesofproject/sof/pull/7985
Please reload this pagehttps://github.com/thesofproject/sof/pull/7992
https://github.com/btian1
btian1https://github.com/btian1
Jul 31, 2023https://github.com/thesofproject/sof/pull/7992#issuecomment-1658292533
#7830https://github.com/thesofproject/sof/pull/7830
#7830https://github.com/thesofproject/sof/pull/7830
#7985https://github.com/thesofproject/sof/pull/7985
Please reload this pagehttps://github.com/thesofproject/sof/pull/7992
https://github.com/lgirdwood
lgirdwoodhttps://github.com/lgirdwood
Jul 31, 2023https://github.com/thesofproject/sof/pull/7992#issuecomment-1658455422
@jsarhahttps://github.com/jsarha
Please reload this pagehttps://github.com/thesofproject/sof/pull/7992
https://github.com/jsarha
jsarhahttps://github.com/jsarha
Aug 1, 2023https://github.com/thesofproject/sof/pull/7992#issuecomment-1661075075
@jsarhahttps://github.com/jsarha
#7830https://github.com/thesofproject/sof/pull/7830
Please reload this pagehttps://github.com/thesofproject/sof/pull/7992
https://github.com/btian1
btian1https://github.com/btian1
Aug 2, 2023https://github.com/thesofproject/sof/pull/7992#issuecomment-1661322814
@jsarhahttps://github.com/jsarha
Please reload this pagehttps://github.com/thesofproject/sof/pull/7992
https://github.com/jsarha
jsarhahttps://github.com/jsarha
Aug 2, 2023https://github.com/thesofproject/sof/pull/7992#issuecomment-1662423570
Please reload this pagehttps://github.com/thesofproject/sof/pull/7992
@jsarhahttps://github.com/jsarha
#8004https://github.com/thesofproject/sof/pull/8004
#1https://github.com/thesofproject/sof/issues/1
#2https://github.com/thesofproject/sof/pull/2
#3https://github.com/thesofproject/sof/pull/3
#4https://github.com/thesofproject/sof/pull/4
#5https://github.com/thesofproject/sof/pull/5
#6https://github.com/thesofproject/sof/issues/6
#7https://github.com/thesofproject/sof/issues/7
#8https://github.com/thesofproject/sof/pull/8
#9https://github.com/thesofproject/sof/issues/9
#10https://github.com/thesofproject/sof/issues/10
#11https://github.com/thesofproject/sof/pull/11
#12https://github.com/thesofproject/sof/pull/12
#13https://github.com/thesofproject/sof/pull/13
#14https://github.com/thesofproject/sof/pull/14
Please reload this pagehttps://github.com/thesofproject/sof/pull/7992
https://github.com/jsarha
jsarhahttps://github.com/jsarha
Aug 2, 2023https://github.com/thesofproject/sof/pull/7992#issuecomment-1662480787
#7830 (comment)https://github.com/thesofproject/sof/pull/7830#issuecomment-1615007899
Please reload this pagehttps://github.com/thesofproject/sof/pull/7992
https://github.com/btian1
btian1https://github.com/btian1
Aug 3, 2023https://github.com/thesofproject/sof/pull/7992#issuecomment-1663173405
@jsarhahttps://github.com/jsarha
#8004https://github.com/thesofproject/sof/pull/8004
@jsarhahttps://github.com/jsarha
@dbalutahttps://github.com/dbaluta
@lgirdwoodhttps://github.com/lgirdwood
@ranj063https://github.com/ranj063
Please reload this pagehttps://github.com/thesofproject/sof/pull/7992
https://github.com/btian1
btian1https://github.com/btian1
August 3, 2023 01:38https://github.com/thesofproject/sof/pull/7992#event-9993621181
https://github.com/btian1
btian1https://github.com/btian1
jxstelterhttps://github.com/jxstelter
ranj063https://github.com/ranj063
code ownershttps://github.com/thesofproject/sof/blob/658cb65bb5a8e12d5f914c5c378f2ea4060a2eeb/CODEOWNERS#L47
August 3, 2023 01:38https://github.com/thesofproject/sof/pull/7992#event-9993621224
https://github.com/btian1
btian1https://github.com/btian1
lgirdwoodhttps://github.com/lgirdwood
August 3, 2023 01:38https://github.com/thesofproject/sof/pull/7992#event-9993622339
https://github.com/jxstelter
jxstelterhttps://github.com/jxstelter
Aug 3, 2023 https://github.com/thesofproject/sof/pull/7992#pullrequestreview-1561365203
View reviewed changes https://github.com/thesofproject/sof/pull/7992/files/7600323a2cdbaa53488f29fc7a501b2820eafc5f
https://github.com/ranj063
ranj063https://github.com/ranj063
Aug 3, 2023 https://github.com/thesofproject/sof/pull/7992#pullrequestreview-1561497736
View reviewed changes https://github.com/thesofproject/sof/pull/7992/files
src/audio/module_adapter/module_adapter.chttps://github.com/thesofproject/sof/pull/7992/files#diff-8065c18eec2f5b971af80cc5aa42ec413fd9432024dfb0040c676c9dee278f31
ranj063https://github.com/ranj063
Aug 3, 2023https://github.com/thesofproject/sof/pull/7992#discussion_r1283467834
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@btian1https://github.com/btian1
Please reload this pagehttps://github.com/thesofproject/sof/pull/7992
cujomalaineyhttps://github.com/cujomalainey
Aug 7, 2023https://github.com/thesofproject/sof/pull/7992#discussion_r1286322041
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/thesofproject/sof/pull/7992
https://github.com/btian1
btian1https://github.com/btian1
force-pushedhttps://github.com/thesofproject/sof/compare/98055d58db8f58b9b02a13e8e65e329f16b7722c..7600323a2cdbaa53488f29fc7a501b2820eafc5f
98055d5https://github.com/thesofproject/sof/commit/98055d58db8f58b9b02a13e8e65e329f16b7722c
7600323https://github.com/thesofproject/sof/commit/7600323a2cdbaa53488f29fc7a501b2820eafc5f
Compare https://github.com/thesofproject/sof/compare/98055d58db8f58b9b02a13e8e65e329f16b7722c..7600323a2cdbaa53488f29fc7a501b2820eafc5f
August 4, 2023 01:46https://github.com/thesofproject/sof/pull/7992#event-10004508574
https://github.com/btian1
btian1https://github.com/btian1
ranj063https://github.com/ranj063
August 4, 2023 01:49https://github.com/thesofproject/sof/pull/7992#event-10004518510
https://github.com/btian1
btian1https://github.com/btian1
Aug 4, 2023https://github.com/thesofproject/sof/pull/7992#event-10004520580
https://github.com/btian1
module_adapter: avoid module init crash in case of ipc data invalidhttps://github.com/thesofproject/sof/pull/7992/commits/7600323a2cdbaa53488f29fc7a501b2820eafc5f
7600323https://github.com/thesofproject/sof/pull/7992/commits/7600323a2cdbaa53488f29fc7a501b2820eafc5f
https://github.com/ranj063
ranj063https://github.com/ranj063
Aug 4, 2023 https://github.com/thesofproject/sof/pull/7992#pullrequestreview-1563355716
View reviewed changes https://github.com/thesofproject/sof/pull/7992/files/7600323a2cdbaa53488f29fc7a501b2820eafc5f
https://github.com/jsarha
jsarhahttps://github.com/jsarha
Aug 7, 2023 https://github.com/thesofproject/sof/pull/7992#pullrequestreview-1564763318
View reviewed changes https://github.com/thesofproject/sof/pull/7992/files/7600323a2cdbaa53488f29fc7a501b2820eafc5f
https://github.com/kv2019i
kv2019ihttps://github.com/kv2019i
Aug 7, 2023https://github.com/thesofproject/sof/pull/7992#issuecomment-1667766784
Please reload this pagehttps://github.com/thesofproject/sof/pull/7992
https://github.com/kv2019i
kv2019ihttps://github.com/kv2019i
Aug 7, 2023https://github.com/thesofproject/sof/pull/7992#issuecomment-1667767209
Please reload this pagehttps://github.com/thesofproject/sof/pull/7992
https://github.com/btian1
btian1https://github.com/btian1
iuliana-prodanhttps://github.com/iuliana-prodan
August 8, 2023 01:35https://github.com/thesofproject/sof/pull/7992#event-10030007610
https://github.com/btian1
btian1https://github.com/btian1
Aug 8, 2023https://github.com/thesofproject/sof/pull/7992#issuecomment-1668800652
Please reload this pagehttps://github.com/thesofproject/sof/pull/7992
https://github.com/kv2019i
kv2019ihttps://github.com/kv2019i
Aug 8, 2023https://github.com/thesofproject/sof/pull/7992#issuecomment-1669511370
https://sof-ci.01.org/sofpr/PR7992/build11414/devicetest/index.htmlhttps://sof-ci.01.org/sofpr/PR7992/build11414/devicetest/index.html
https://sof-ci.01.org/sofpr/PR7992/build11415/devicetest/index.htmlhttps://sof-ci.01.org/sofpr/PR7992/build11415/devicetest/index.html
Please reload this pagehttps://github.com/thesofproject/sof/pull/7992
https://github.com/kv2019i
kv2019ihttps://github.com/kv2019i
e847c8bhttps://github.com/thesofproject/sof/commit/e847c8b270150353551d4720e382502c9a916496
Aug 8, 2023https://github.com/thesofproject/sof/pull/7992#event-10034885630
https://github.com/marc-hb
marc-hbhttps://github.com/marc-hb
Oct 16, 2023https://github.com/thesofproject/sof/pull/7992#issuecomment-1765216801
[BUG] Unable to load tplg with mixer or DRC component #8265https://github.com/thesofproject/sof/issues/8265
Please reload this pagehttps://github.com/thesofproject/sof/pull/7992
https://github.co/hiddenchars
https://github.com/thesofproject/sof/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fthesofproject%2Fsof%2Fpull%2F7992
https://github.com/jsarha
jsarha https://github.com/jsarha
https://github.com/thesofproject/sof/pull/7992/files/7600323a2cdbaa53488f29fc7a501b2820eafc5f
https://github.com/ranj063
ranj063 https://github.com/ranj063
https://github.com/thesofproject/sof/pull/7992/files/7600323a2cdbaa53488f29fc7a501b2820eafc5f
https://github.com/cujomalainey
cujomalainey https://github.com/cujomalainey
https://github.com/lgirdwood
lgirdwood https://github.com/lgirdwood
https://github.com/iuliana-prodan
iuliana-prodan https://github.com/iuliana-prodan
https://github.com/jxstelter
jxstelter https://github.com/jxstelter
https://github.com/thesofproject/sof/pull/7992/files/7600323a2cdbaa53488f29fc7a501b2820eafc5f
Please reload this pagehttps://github.com/thesofproject/sof/pull/7992
https://github.com/btian1
https://github.com/dbaluta
https://github.com/lgirdwood
https://github.com/jsarha
https://github.com/kv2019i
https://github.com/marc-hb
https://github.com/cujomalainey
https://github.com/ranj063
https://github.com/jxstelter
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.