[ 
https://issues.apache.org/jira/browse/CASSGO-74?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andy Tolbert updated CASSGO-74:
-------------------------------
     Bug Category: Parent values: Correctness(12982)
       Complexity: Low Hanging Fruit
      Component/s: Core
    Discovered By: Unit Test
         Severity: Low
         Assignee: Tyler Schade
           Status: Open  (was: Triage Needed)

> Calling Close() on a nil session panics
> ---------------------------------------
>
>                 Key: CASSGO-74
>                 URL: https://issues.apache.org/jira/browse/CASSGO-74
>             Project: Apache Cassandra Go driver
>          Issue Type: Bug
>          Components: Core
>            Reporter: Tyler Schade
>            Assignee: Tyler Schade
>            Priority: Normal
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> The {{Session}} type does not guard against method calls on a nil pointer, 
> which is understandable in most cases. However, the {{Close}} method doesn't 
> have any work to do if the `Session` is nil, and could be easily guarded 
> against panicking.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to