You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "AliRana30 (via GitHub)" <gi...@apache.org> on 2026/01/30 10:06:11 UTC
[I] [C++] Null pointer dereference in SimpleTable constructor [arrow]
AliRana30 opened a new issue, #49079:
URL: https://github.com/apache/arrow/issues/49079
### Describe the bug, including details regarding any error messages, version, and platform.
**Describe the bug**
SimpleTable constructor dereferences `columns_[0]` without null check when `num_rows < 0`. If the first column pointer is null, this causes undefined behavior/segfault at lines 66-70 and 80-84 in [cpp/src/arrow/table.cc](cci:7://file:///C:/Users/PMLS/Desktop/apache/arrow/cpp/src/arrow/table.cc:0:0-0:0).
**Component(s)**
C++
### Component(s)
C++
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [C++] Null pointer dereference in SimpleTable constructor [arrow]
Posted by "thisisnic (via GitHub)" <gi...@apache.org>.
thisisnic closed issue #49079: [C++] Null pointer dereference in SimpleTable constructor
URL: https://github.com/apache/arrow/issues/49079
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [C++] Null pointer dereference in SimpleTable constructor [arrow]
Posted by "AliRana30 (via GitHub)" <gi...@apache.org>.
AliRana30 commented on issue #49079:
URL: https://github.com/apache/arrow/issues/49079#issuecomment-3823013396
@HyukjinKwon Kindly tell me if this issue is created by any other person or should I start working on it?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [C++] Null pointer dereference in SimpleTable constructor [arrow]
Posted by "thisisnic (via GitHub)" <gi...@apache.org>.
thisisnic commented on issue #49079:
URL: https://github.com/apache/arrow/issues/49079#issuecomment-6417423459
@pitrou I'm going through old `Type: bug` issues. The fix PR #49086 was closed unmerged after you pointed out that `Table::Make()` and the `SimpleTable` constructor follow the convention that pointer arguments are non-null and no real crash was ever shown. OK to close this as won't fix?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org