[ https://issues.apache.org/jira/browse/ARTEMIS-4779?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrey Slepykh updated ARTEMIS-4779: ------------------------------------ Description: in line: https://github.com/apache/activemq-artemis/blob/fb1b362b473cad51ae5d05a897be02b1fa8461d4/artemis-jms-server/src/main/java/org/apache/activemq/artemis/jms/server/config/impl/ConnectionFactoryConfigurationImpl.java#L625 In this case, the readBoolean() function reads short values from the component. Checking for the existence of values is necessary in all cases, since the developer cannot be sure that the value of a variable will not be returned with an error. !image-2024-05-22-17-02-37-538.png! Found by Linux Verification Center (portal.linuxtesting.ru) with SVACE. Author: Firsov Vladimir, BMSTU (fvv22u...@student.bmstu.ru) was:In this case, the readBoolean() function reads short values from the component. Checking for the existence of values is necessary in all cases, since the developer cannot be sure that the value of a variable will not be returned with an error. > UNCHECKED_FUNC_RES.STAT Return value of function is not checked > --------------------------------------------------------------- > > Key: ARTEMIS-4779 > URL: https://issues.apache.org/jira/browse/ARTEMIS-4779 > Project: ActiveMQ Artemis > Issue Type: Bug > Components: JMS > Affects Versions: 2.25.0 > Reporter: Andrey Slepykh > Priority: Major > Attachments: image-2024-05-22-17-02-37-538.png > > > in line: > https://github.com/apache/activemq-artemis/blob/fb1b362b473cad51ae5d05a897be02b1fa8461d4/artemis-jms-server/src/main/java/org/apache/activemq/artemis/jms/server/config/impl/ConnectionFactoryConfigurationImpl.java#L625 > In this case, the readBoolean() function reads short values from the > component. Checking for the existence of values is necessary in all cases, > since the developer cannot be sure that the value of a variable will not be > returned with an error. > !image-2024-05-22-17-02-37-538.png! > > Found by Linux Verification Center (portal.linuxtesting.ru) with SVACE. > Author: Firsov Vladimir, BMSTU (fvv22u...@student.bmstu.ru) > -- This message was sent by Atlassian Jira (v8.20.10#820010)