-
Notifications
You must be signed in to change notification settings - Fork 5
RDKB-62810,RDKB-62812:Create Virtual Interface for voice and initialize DHCP #25
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
Changes from 14 commits
89aaf6b
48d8563
0bee820
e923264
dedfdf0
05bedb4
e0dd077
afd0465
ba58939
e92cc75
bf25df6
b9ceec9
bc3f341
b290099
8f9b15d
a918674
322656a
97c65e6
a88bf6e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -41,6 +41,16 @@ AC_ARG_ENABLE([unitTestDockerSupport], | |||||||||
| [echo "Docker support is disabled"]) | ||||||||||
| AM_CONDITIONAL([UNIT_TEST_DOCKER_SUPPORT], [test x$UNIT_TEST_DOCKER_SUPPORT = xtrue]) | ||||||||||
|
|
||||||||||
| # Checks for Voice_support | ||||||||||
| AC_ARG_ENABLE([voice_support], | ||||||||||
| [ --enable-voice_support=val Turn on voice support, val=true or false], | ||||||||||
|
||||||||||
| [ --enable-voice_support=val Turn on voice support, val=true or false], | |
| [ --enable-voice_support=val Turn on voice support (yes/no)], |
Outdated
Copilot
AI
Feb 7, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The --enable-voice_support help text says val=true or false, but the case only accepts yes/no and will error on true/false. Either update the help string to yes|no or accept true|false as valid values.
| [ --enable-voice_support=val Turn on voice support, val=true or false], | |
| [ --enable-voice_support=val Turn on voice support, val=yes or no], |
Outdated
Copilot
AI
Feb 13, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The configure.ac defines AM_CONDITIONAL for VOICE_SUPPORT_ENABLED but the Makefile.am checks for VOICE_MTA_SUPPORT. This inconsistency could lead to build configuration issues. Ensure these conditional names match or document why they differ.
| AM_CONDITIONAL(VOICE_SUPPORT_ENABLED, test x"$voice_support" = x"true") | |
| AM_CONDITIONAL(VOICE_SUPPORT_ENABLED, test x"$voice_support" = x"true") | |
| AM_CONDITIONAL(VOICE_MTA_SUPPORT, test x"$voice_support" = x"true") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The XML configuration introduces new data model objects under Services.BrcmVoiceService with various string parameters. However, there's no input validation specified in the XML or visible in the corresponding DML functions (BrcmVoiceService_SetParamStringValue, BrcmVoiceNetwork_SetParamStringValue, BrcmVoiceClient_SetParamStringValue) that validates the input before passing it to bcm_generic_setParameterValues. Consider adding length checks and format validation for parameters like RegisterURI, ProxyServer, RegistrarServer, etc., to prevent injection attacks or malformed data from being stored.