GreekStapler
  • Joined on 2023-01-07

GreekStapler pushed to dev at GreekStapler/vieter

2023-03-10 12:19:45 +01:00

GreekStapler pushed to package at GreekStapler/libvieter

  • 1f9bd26ae5 refactor: move dynarray into own module
  • 19c5515c5e fix: Plug memory leaks and fix strings that were not null terminated.
  • 96d07dfb54 fix: Initialised variable to keep CI from breaking (again).
  • ea852f9102 refactor: Package extension now depends on what compression method was detected.
  • df83bf9fb3 fix: Initialise variables to keep CI from breaking.
  • Compare 50 commits »

2023-03-09 23:39:44 +01:00

GreekStapler pushed to dev at GreekStapler/libvieter

2023-03-09 22:46:32 +01:00

GreekStapler pushed to package at GreekStapler/libvieter

  • e5f0ac8dec fix: Plug memory leaks and fix strings that were not null terminated.

2023-02-02 20:21:27 +01:00

GreekStapler pushed to package at GreekStapler/libvieter

  • b9dbb8af5c fix: Initialised variable to keep CI from breaking (again).

2023-02-02 13:37:13 +01:00

GreekStapler pushed to package at GreekStapler/libvieter

  • da7e41e8ca refactor: Package extension now depends on what compression method was detected.

2023-02-02 12:34:07 +01:00

GreekStapler commented on pull request vieter-v/libvieter#6

Refactor package module into C

The `strlen` is called on `key_ptr` which is just a small self contained string (e.g. "\ngroup = ") that is null terminated.

2023-02-02 11:56:25 +01:00

GreekStapler pushed to package at GreekStapler/libvieter

  • c0925fec14 fix: Initialise variables to keep CI from breaking.

2023-02-02 11:54:14 +01:00

GreekStapler pushed to package at GreekStapler/libvieter

  • 031e28ed33 refactor: Hashing function now streams data into hasher instead of doing it in one go.
  • 41fabe21a2 refactor: Package archive parser now returns meaningful error enums in case of failure.
  • e4d6ffc403 fix: Using snprintf while ignoring its return value could lead to valid inputs getting truncated.
  • 307e7ba6e9 fix: Initialise array pointers to 0 before performing check on them.
  • Compare 4 commits »

2023-01-31 22:02:20 +01:00

GreekStapler commented on pull request vieter-v/libvieter#6

Refactor package module into C

I used `snprintf` because I didn't want to risk any buffer overflows, but it can truncate perfectly valid inputs if they are long enough (e.g. very long url). I'll turn `aux` into a malloc'd…

2023-01-29 18:29:40 +01:00

GreekStapler commented on pull request vieter-v/libvieter#6

Refactor package module into C

Yeah, dangling pointers can cause some real headaches, so I prefer to have free functions set the pointer to NULL themselves to make it less error prone.

2023-01-29 16:10:39 +01:00

GreekStapler pushed to package at GreekStapler/libvieter

  • 4cacb1534f chore: Also renamed structs to follow naming conventions.

2023-01-29 13:37:43 +01:00

GreekStapler pushed to package at GreekStapler/libvieter

2023-01-29 12:48:00 +01:00

GreekStapler pushed to package at GreekStapler/libvieter

  • b87d6b1542 refactor: Subsituted old hash generation with a proper implementation.

2023-01-28 22:53:13 +01:00

GreekStapler pushed to package at GreekStapler/libvieter

  • 72fea90e13 fix: strcat can not be used on uninitialised strings in non-musl environments.

2023-01-28 11:20:41 +01:00

GreekStapler pushed to package at GreekStapler/libvieter

  • c47542fcd9 fix: strcat can not be used on uninitialised strings.

2023-01-28 10:49:29 +01:00

GreekStapler pushed to package at GreekStapler/libvieter

  • 9452fea2ab fix: Somehow, test file changed line endings to CRLF. Changed it back to LF.
  • 10eb08b8e4 chore: Rebase to dev branch with binomial heap PR.
  • d1a8ba7737 refactor: Added SHA256 to package description file.
  • 2ce7a819a9 refactor: Decided to not return char** in function that creates the package description after all, now returns char*.
  • 2d6ac2ac19 fix: Took a very long time finding a very annyoing bug because realloc is the devil.
  • Compare 33 commits »

2023-01-27 23:17:30 +01:00

GreekStapler pushed to dev at GreekStapler/libvieter

2023-01-27 22:53:41 +01:00

GreekStapler created pull request vieter-v/libvieter#6

Refactor package module into C

2023-01-25 23:56:55 +01:00

GreekStapler pushed to package at GreekStapler/libvieter

  • efbd9eaef9 fix: Somehow, test file changed line endings to CRLF. Changed it back to LF.

2023-01-25 23:55:47 +01:00