Segmentation Fault When Connecting To CAS With Incorrect Credentials

未關閉
#117 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
45/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
python

研究方向

從提供的 Python 範例和 CAS 建構函式開始,使用錯誤的認證資料重現故障。追蹤連線和驗證處理,以確定 segmentation fault 發生的位置;當無效的認證資料回傳已處理的錯誤,而不是終止 Python 程序時,即表示完成。

由索引模型根據 Issue 內容生成。

描述

When connecting to a CAS server with a username and password, it is possible to hit a segmentation fault if the credentials are incorrect! This totally exits out of the Python program/shell. Below is an example program that I can reproduce this with. Obviously, I have removed the machine, username, and password for privacy reasons:

from swat import *
s = CAS('<machine_ip_address_or_hostname>', 5570, '<username>', '<password>')

The result of running this is Segmentation Fault (core dumped) if the credentials are incorrect.

主要語言
Python
星號
159
分支
66
PR 合併指標
30 天內沒有已合併 PR

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

sassoftware/python-swat 的其他 Issue

查看 sassoftware/python-swat 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。