Groups
Groups
Sign in
Groups
Groups
firebird-devel
Conversations
About
Send feedback
Help
Possible NULL dereference in gpre/sql.cpp
12 views
Skip to first unread message
Mark Rotteveel
unread,
Jul 10, 2025, 3:54:57 AM
Jul 10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to firebir...@googlegroups.com
Visual Studio analysis shows a possible NULL dereference in
act* SQL_action(const TEXT* base_directory)
I think it can be fixed by changing the default of the first switch from
```
default:
CPR_s_error("SQL operation");
```
to
```
default:
CPR_s_error("SQL operation");
return NULL;
```
Do you agree?
Mark
--
Mark Rotteveel
Mark Rotteveel
unread,
Jul 10, 2025, 4:17:04 AM
Jul 10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to firebir...@googlegroups.com
Alternatively, that call to CPR_s_error, should maybe be a call to
PAR_error.
Mark
--
Mark Rotteveel
Reply all
Reply to author
Forward
0 new messages