Filenames ending with .package.lst are causing problems #61

Closed
opened 2022-08-25 17:13:11 +02:00 by Whissi · 0 comments
First-time contributor
$ rpm -qa > /tmp/foo-server.package.lst
$ curl -F'file=@/tmp/foo-server.package.lst' https://0x0.st
https://0x0.st/o9YF.package.
$ curl "https://0x0.st/o9YF.package."
<!doctype html>
<html lang=en>
<title>500 Internal Server Error</title>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.</p>
$ curl "https://0x0.st/o9YF.package"
Process 83 stopped
* thread #1: tid = 83, 0x00007f1a62c8ae00, name = 'fhost'
    frame #0:
Process 83 stopped
* thread #8: tid = 83, 0x00007f1a62c8aad0 fhost`get(path='/o9YF.package') + 27 at fhost.c:139, name = 'fhost/responder', stop reason = invalid address (fault address: 0x30)
    frame #0: {3:#018x} fhost`get(path='/o9YF.package') + 27 at fhost.c:139
   136   get(SrvContext *ctx, const char *path)
   137   {
   138       StoredObj *obj = ctx->store->query(shurl_debase(path));
-> 139       switch (obj->type) {
   140           case ObjTypeFile:
   141               ctx->serve_file_id(obj->id);
   142               break;
(lldb) q
``` $ rpm -qa > /tmp/foo-server.package.lst $ curl -F'file=@/tmp/foo-server.package.lst' https://0x0.st https://0x0.st/o9YF.package. ``` ``` $ curl "https://0x0.st/o9YF.package." <!doctype html> <html lang=en> <title>500 Internal Server Error</title> <h1>Internal Server Error</h1> <p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.</p> ``` ``` $ curl "https://0x0.st/o9YF.package" Process 83 stopped * thread #1: tid = 83, 0x00007f1a62c8ae00, name = 'fhost' frame #0: Process 83 stopped * thread #8: tid = 83, 0x00007f1a62c8aad0 fhost`get(path='/o9YF.package') + 27 at fhost.c:139, name = 'fhost/responder', stop reason = invalid address (fault address: 0x30) frame #0: {3:#018x} fhost`get(path='/o9YF.package') + 27 at fhost.c:139 136 get(SrvContext *ctx, const char *path) 137 { 138 StoredObj *obj = ctx->store->query(shurl_debase(path)); -> 139 switch (obj->type) { 140 case ObjTypeFile: 141 ctx->serve_file_id(obj->id); 142 break; (lldb) q ```
mia closed this issue 2022-12-01 01:28:17 +01:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: mia/0x0#61
No description provided.