[PR #805] [MERGED] fix: possible segmentation faults in numerical_methods/mean.c #1319

Open
opened 2026-01-29 15:19:15 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/TheAlgorithms/C/pull/805
Author: @satbekmyrza
Created: 2/23/2021
Status: Merged
Merged: 2/23/2021
Merged by: @Panquesito7

Base: masterHead: master


📝 Commits (2)

📊 Changes

1 file changed (+5 additions, -4 deletions)

View changed files

📝 numerical_methods/mean.c (+5 -4)

📄 Description

Description of Change

Fixed a possible segmentation fault when no argument is provided. Additionally, made tiny changes to print statements.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/TheAlgorithms/C/pull/805 **Author:** [@satbekmyrza](https://github.com/satbekmyrza) **Created:** 2/23/2021 **Status:** ✅ Merged **Merged:** 2/23/2021 **Merged by:** [@Panquesito7](https://github.com/Panquesito7) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (2) - [`6234ab4`](https://github.com/TheAlgorithms/C/commit/6234ab406e3260a472a7a4ada0ee4817feb148af) fixed possible segmentation fault - [`7e180f2`](https://github.com/TheAlgorithms/C/commit/7e180f23035f2ed07bbc8c4fca481425c186a576) Update mean.c ### 📊 Changes **1 file changed** (+5 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `numerical_methods/mean.c` (+5 -4) </details> ### 📄 Description #### Description of Change Fixed a possible segmentation fault when no argument is provided. Additionally, made tiny changes to print statements. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 15:19:15 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/C#1319